check
This commit is contained in:
19
modules/nixos/hardware/raspberry-pi/kernelboot-builder.nix
Normal file
19
modules/nixos/hardware/raspberry-pi/kernelboot-builder.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs
|
||||
, firmwareBuilder
|
||||
}:
|
||||
|
||||
pkgs.replaceVarsWith {
|
||||
src = ./kernelboot-builder.sh;
|
||||
isExecutable = true;
|
||||
|
||||
replacements = {
|
||||
inherit (pkgs) bash;
|
||||
path = pkgs.lib.makeBinPath [
|
||||
pkgs.coreutils
|
||||
pkgs.gnused
|
||||
];
|
||||
|
||||
inherit firmwareBuilder;
|
||||
copyKernels = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user