Merge pull request #62333 from kampka/buildPackages-for-config-builders
Build packages for config builders
This commit is contained in:
commit
f8c12edfdf
@ -7,8 +7,8 @@ let
|
|||||||
generationsDirBuilder = pkgs.substituteAll {
|
generationsDirBuilder = pkgs.substituteAll {
|
||||||
src = ./generations-dir-builder.sh;
|
src = ./generations-dir-builder.sh;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
inherit (pkgs.buildPackages) bash;
|
inherit (pkgs) bash;
|
||||||
path = with pkgs.buildPackages; [coreutils gnused gnugrep];
|
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||||
inherit (config.boot.loader.generationsDir) copyKernels;
|
inherit (config.boot.loader.generationsDir) copyKernels;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ let
|
|||||||
|
|
||||||
timeoutStr = if blCfg.timeout == null then "-1" else toString blCfg.timeout;
|
timeoutStr = if blCfg.timeout == null then "-1" else toString blCfg.timeout;
|
||||||
|
|
||||||
builder = import ./extlinux-conf-builder.nix { pkgs = pkgs.buildPackages; };
|
builder = import ./extlinux-conf-builder.nix { inherit pkgs; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
pkgs.substituteAll {
|
pkgs.substituteAll {
|
||||||
src = ./extlinux-conf-builder.sh;
|
src = ./extlinux-conf-builder.sh;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
path = [pkgs.buildPackages.coreutils pkgs.buildPackages.gnused pkgs.buildPackages.gnugrep];
|
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||||
inherit (pkgs.buildPackages) bash;
|
inherit (pkgs) bash;
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,8 @@ let
|
|||||||
initScriptBuilder = pkgs.substituteAll {
|
initScriptBuilder = pkgs.substituteAll {
|
||||||
src = ./init-script-builder.sh;
|
src = ./init-script-builder.sh;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
inherit (pkgs.buildPackages) bash;
|
inherit (pkgs) bash;
|
||||||
path = with pkgs.buildPackages; [coreutils gnused gnugrep];
|
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -18,17 +18,18 @@ let
|
|||||||
|
|
||||||
extlinuxConfBuilder =
|
extlinuxConfBuilder =
|
||||||
import ../generic-extlinux-compatible/extlinux-conf-builder.nix {
|
import ../generic-extlinux-compatible/extlinux-conf-builder.nix {
|
||||||
pkgs = pkgs.buildPackages;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.substituteAll {
|
pkgs.substituteAll {
|
||||||
src = ./uboot-builder.sh;
|
src = ./uboot-builder.sh;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
inherit (pkgs.buildPackages) bash;
|
inherit (pkgs) bash;
|
||||||
path = with pkgs.buildPackages; [coreutils gnused gnugrep];
|
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||||
firmware = pkgs.raspberrypifw;
|
firmware = pkgs.raspberrypifw;
|
||||||
inherit uboot;
|
inherit uboot;
|
||||||
inherit configTxt;
|
inherit configTxt;
|
||||||
inherit extlinuxConfBuilder;
|
inherit extlinuxConfBuilder;
|
||||||
inherit version;
|
inherit version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ let
|
|||||||
|
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
|
|
||||||
inherit (pkgs.buildPackages) python3;
|
inherit (pkgs) python3;
|
||||||
|
|
||||||
systemd = config.systemd.package;
|
systemd = config.systemd.package;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user