nixpkgs/nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix
2018-10-21 17:44:11 +03:00

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