Building an custom iso image for additional drivers

I am trying to make an iso because I want to add broadcom’s wireless driver into the iso image. I use nix-build command, totally following this link.manual

During the build process, I found that the program had been compiling for a whole day and was not finished. I don’t know if that’s normal. Does anyone know how long normal takes?
My nix file, mac.nix.

Here are some outputs.

If you’ve followed that section of the manual exactly, you are building from the master branch which might have some packages not already built on hydra. I would suggest to use the nixos-unstable branch or a release branch like release-23.05.

1 Like

Thanks, fpletz. I followed your suggestion and finnaly succed, using git switch nixos-23.05 to change the branch.