nixpkgs/nixos/modules/system/boot/loader/raspberrypi/raspberrypi-builder.nix

11 lines
255 B
Nix

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