summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Marko <srk@48.io>2020-05-09 10:22:08 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2020-05-10 16:03:31 +0200
commita6ac6d00f98c7cc814008c1e6e288feaa2e123c6 (patch)
tree3b3442afc7343bd802ec707670c72b3fcabaea8e
parent03ae0c0fe23c051e984ddfe63696dc722a45b73c (diff)
downloadnixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.tar
nixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.tar.gz
nixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.tar.bz2
nixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.tar.lz
nixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.tar.xz
nixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.tar.zst
nixpkgs-a6ac6d00f98c7cc814008c1e6e288feaa2e123c6.zip
nixos/raspberrypi-builder: fix cross using buildPackages
-rw-r--r--nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix4
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 7eb52e3d021..e75aa9d1387 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) bash;
-  path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
+  inherit (pkgs.buildPackages) bash;
+  path = with pkgs.buildPackages; [coreutils gnused gnugrep];
   firmware = pkgs.raspberrypifw;
   inherit configTxt;
 }