nix-community / raspberry-pi-nix

NixOS modules to aid in configuring NixOS for raspberry pi products
MIT License
144 stars 34 forks source link

Uboot is built even if uboot is disabled #41

Closed tnichols217 closed 3 weeks ago

tnichols217 commented 1 month ago

The multiple usages of builtins.toString pkgs.uboot-rpi-arm64 within default.nix requires nix to build the uboot package even if uboot is disabled.

I'm unsure if this is an intentional decision based on the requirements of this script, but I would recommend making conditionals for uboot related sections of the script to not be included if uboot is disabled

tstat commented 1 month ago

Yes, good thought. It wasn't intentional, just an oversight.