Merge pull request #98858 from sorki/cross/rpifw

raspberrypi-builder: allow passing firmware package as argument
This commit is contained in:
Matthew Bauer 2021-01-29 10:21:32 -06:00 committed by GitHub
commit 6307346fd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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