
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.
11 lines
231 B
Nix
11 lines
231 B
Nix
{ pkgs, configTxt }:
|
|
|
|
pkgs.substituteAll {
|
|
src = ./raspberrypi-builder.sh;
|
|
isExecutable = true;
|
|
inherit (pkgs) bash;
|
|
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
|
firmware = pkgs.raspberrypifw;
|
|
inherit configTxt;
|
|
}
|