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 {
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;
}