Skip to content

Commit

Permalink
raspberrypi-builder: allow passing firmware package as argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki committed Sep 26, 2020
1 parent 740f014 commit 9b06e98
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 9b06e98

Please sign in to comment.