nixos/raspberrypi-builder: fix cross using buildPackages

This commit is contained in:
Richard Marko 2020-05-09 10:22:08 +02:00 committed by Bjørn Forsman
parent 03ae0c0fe2
commit a6ac6d00f9

View file

@ -3,8 +3,8 @@
pkgs.substituteAll { pkgs.substituteAll {
src = ./raspberrypi-builder.sh; src = ./raspberrypi-builder.sh;
isExecutable = true; isExecutable = true;
inherit (pkgs) bash; inherit (pkgs.buildPackages) bash;
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep]; path = with pkgs.buildPackages; [coreutils gnused gnugrep];
firmware = pkgs.raspberrypifw; firmware = pkgs.raspberrypifw;
inherit configTxt; inherit configTxt;
} }