diskoScript: add bash to PATH

This commit is contained in:
lassulus
2023-06-23 04:58:08 +02:00
committed by mergify[bot]
parent 8e50c6da0d
commit 1e7098ee04
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ in
system.build.disko = builtins.trace "the .disko output is deprecated, plase use .diskoScript instead" config.system.build.diskoScript;
system.build.diskoScript = (diskoLib.writeCheckedBash { inherit pkgs checked; }) "disko" ''
export PATH=${lib.makeBinPath (diskoLib.packages cfg.devices pkgs)}:$PATH
export PATH=${lib.makeBinPath ((diskoLib.packages cfg.devices pkgs) ++ [ pkgs.bash ])}:$PATH
${diskoLib.zapCreateMount cfg.devices}
'';