mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
raspberrypi-builder: allow passing firmware package as argument
This commit is contained in:
parent
740f01413b
commit
9b06e9856b
@ -1,10 +1,9 @@
|
||||
{ pkgs, configTxt }:
|
||||
{ pkgs, configTxt, firmware ? pkgs.raspberrypifw }:
|
||||
|
||||
pkgs.substituteAll {
|
||||
src = ./raspberrypi-builder.sh;
|
||||
isExecutable = true;
|
||||
inherit (pkgs) bash;
|
||||
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||
firmware = pkgs.raspberrypifw;
|
||||
inherit configTxt;
|
||||
inherit firmware configTxt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user