19 lines
283 B
Nix
19 lines
283 B
Nix
{ pkgs
|
|
, uefiPackage
|
|
, firmwareBuilder
|
|
}:
|
|
|
|
pkgs.replaceVarsWith {
|
|
src = ./uefi-builder.sh;
|
|
isExecutable = true;
|
|
|
|
replacements = {
|
|
inherit (pkgs) bash;
|
|
path = pkgs.lib.makeBinPath [
|
|
pkgs.coreutils
|
|
];
|
|
|
|
uefi = uefiPackage;
|
|
inherit firmwareBuilder;
|
|
};
|
|
} |