Merge pull request #98858 from sorki/cross/rpifw
raspberrypi-builder: allow passing firmware package as argument
This commit is contained in:
commit
6307346fd9
|
@ -1,10 +1,9 @@
|
||||||
{ pkgs, configTxt }:
|
{ pkgs, configTxt, firmware ? pkgs.raspberrypifw }:
|
||||||
|
|
||||||
pkgs.substituteAll {
|
pkgs.substituteAll {
|
||||||
src = ./raspberrypi-builder.sh;
|
src = ./raspberrypi-builder.sh;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
inherit (pkgs) bash;
|
inherit (pkgs) bash;
|
||||||
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||||
firmware = pkgs.raspberrypifw;
|
inherit firmware configTxt;
|
||||||
inherit configTxt;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue