mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-02-06 20:42:27 +00:00
sync
This commit is contained in:
@@ -8,16 +8,14 @@ with lib; let
|
||||
cfg = config.boot.loader.kboot-conf;
|
||||
|
||||
# The builder used to write during system activation
|
||||
builder = pkgs.substituteAll {
|
||||
src = ./generate-kboot-conf.sh;
|
||||
isExecutable = true;
|
||||
# The builder used to write during system activation
|
||||
builder = pkgs.replaceVars ./generate-kboot-conf.sh {
|
||||
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
|
||||
inherit (pkgs) bash;
|
||||
};
|
||||
|
||||
# The builder exposed in populateCmd, which runs on the build architecture
|
||||
populateBuilder = pkgs.buildPackages.substituteAll {
|
||||
src = ./generate-kboot-conf.sh;
|
||||
isExecutable = true;
|
||||
populateBuilder = pkgs.buildPackages.replaceVars ./generate-kboot-conf.sh {
|
||||
path = with pkgs.buildPackages; [coreutils gnused gnugrep];
|
||||
inherit (pkgs.buildPackages) bash;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user