diff options
author | Christian Kampka <christian@kampka.net> | 2020-09-08 19:59:58 +0200 |
---|---|---|
committer | Christian Kampka <christian@kampka.net> | 2020-09-08 20:14:13 +0200 |
commit | 2c6753f9d0b9474a492deab4b0d1023391d7ef2b (patch) | |
tree | c0fd09f8215fa1656cdb7b59a0e0ee39146ad9a9 /nixos/modules/system/boot/loader/raspberrypi | |
parent | 61999845f8d67ca5534b0b262e7c82ff1cbf865b (diff) |
Revert "nixos/raspberrypi-builder: fix cross using buildPackages"
The commit enforces buildPackages in the builder but neglects the fact that the builder is intended to run on the target system. Because of that, the builder will fail when remotely building a configuration eg. with nixops or nix-copy-closure. This reverts commit a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.
Diffstat (limited to 'nixos/modules/system/boot/loader/raspberrypi')
-rw-r--r-- | nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix index e75aa9d138756..7eb52e3d021ff 100644 --- a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix +++ b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix @@ -3,8 +3,8 @@ pkgs.substituteAll { src = ./raspberrypi-builder.sh; isExecutable = true; - inherit (pkgs.buildPackages) bash; - path = with pkgs.buildPackages; [coreutils gnused gnugrep]; + inherit (pkgs) bash; + path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep]; firmware = pkgs.raspberrypifw; inherit configTxt; } |