mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
diskoScript: add bash to PATH
This commit is contained in:
1 parent
8e50c6da0d
commit
1e7098ee04
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ in
|
||||
'';
|
||||
disko = cfg: diskoLib.zapCreateMount (eval cfg).config.disko.devices;
|
||||
diskoScript = cfg: pkgs: (diskoLib.writeCheckedBash { inherit pkgs checked; }) "disko-zap-create-mount" ''
|
||||
export PATH=${lib.makeBinPath (diskoLib.packages (eval cfg).config.disko.devices pkgs)}:$PATH
|
||||
export PATH=${lib.makeBinPath ((diskoLib.packages (eval cfg).config.disko.devices pkgs) ++ [ pkgs.bash ])}:$PATH
|
||||
${diskoLib.zapCreateMount (eval cfg).config.disko.devices}
|
||||
'';
|
||||
# we keep this old output for backwards compatibility
|
||||
|
||||
Reference in new issue
Block a user