1
1
Fork 0
nixos-configs/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix

14 lines
350 B
Nix

{ pkgs, configTxt }:
pkgs.substituteAll {
src = ./raspberrypi-builder.sh;
isExecutable = true;
#postInstall = "shellcheck $out";
#nativeBuildInputs = [ pkgs.buildPackages.shellcheck ];
inherit (pkgs.buildPackages) bash;
path = with pkgs.buildPackages; [coreutils gnused gnugrep];
firmware = pkgs.raspberrypifw;
inherit configTxt;
}