Why OSXUpd10.11.5.dmg is downloaded when I update my nixos?

unpacking channels...
building Nix...
building the system configuration...
these derivations will be built:
  /nix/store/7bxkvbph0yn0fhndgcbm4m3lbfb4nvm0-OSXUpd10.11.5.dmg.drv
  /nix/store/n0nmpqmgvw10la6d9762jsfayz9pff7z-facetimehd-firmware-1.43_5.drv
  /nix/store/ja7bk3z41sxzirv8jmqfdgnyfk5ra7ni-firmware.drv
  /nix/store/b7rkpb40kbcpcs5aj80s8yzcn7kxqj55-linux-5.16.8-modules-shrunk.drv
  /nix/store/g6wzb82vc03cffz3cijmr69xi307bmcs-stage-1-init.sh.drv
  /nix/store/3l9lwlrrl1qh7skqhcf8k790a5qkp6h2-initrd-linux-5.16.8.drv
  /nix/store/axv2mwzypfil0hhw5h3hg61cs50axaah-etc-nixos.conf.drv
  /nix/store/x8aw8c5dpzzgyx4yiivigsbc8jdkbnfy-etc.drv
  /nix/store/az3yz88ir16mgrrf8pkd00k4a3nkb6im-nixos-system-PC-21.11.336020.2128d0aa28e.drv

I can’t understand… I just enabled waydroid instead of wayOSX. Please help, thanks!

It’s used here: https://github.com/NixOS/nixpkgs/blob/ea517b2af5dccac285b6633425f45f18bf53976a/pkgs/os-specific/linux/firmware/facetimehd-firmware/default.nix#L13 so you probably are using this on a Mac and enabled that firmware?

I don’t have a Mac. I have hardware.enableAllFirmware = true; , maybe this is the reason?

Yes, that’d be the reason, see: https://github.com/NixOS/nixpkgs/blob/8a95d272032aaf3a0b89b9f66528c05e11779c56/nixos/modules/hardware/all-firmware.nix#L86

Thanks! However, the option is recommanded in some wiki pages to fix broken hardware. The OSX firmware is obviously useless to me (and many others). Is there a better way to fix hardware issues?

You could instead use enableRedistributableFirmware, since that doesn’t include it.
Then if you really need them, you could add any of the other drivers enabled by enableAllFirmware yourself like it’s also done in the link above.

hardware.enableRedistributableFirmware = true;
hardware.firmware = with pkgs; [
  broadcom-bt-firmware
  b43Firmware_5_1_138
  b43Firmware_6_30_163_46
  b43FirmwareCutter
];

Note that this only does “fix hardware issues” when your issue is that you actually use one of the devices in this list and need a driver for it :slight_smile: otherwise it should be fine to stick with the redistributable ones.

1 Like

Thanks for your great answer!