summaryrefslogtreecommitdiff
path: root/modules/envfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/envfs.nix')
-rw-r--r--modules/envfs.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/envfs.nix b/modules/envfs.nix
index 1463dce8..83cad8d0 100644
--- a/modules/envfs.nix
+++ b/modules/envfs.nix
@@ -50,6 +50,14 @@ in {
50 ln -s ${config.environment.binsh} $out/sh 50 ln -s ${config.environment.binsh} $out/sh
51 '') 51 '')
52 ]; 52 ];
53 defaultText = lib.literalExpression ''
54 [ (pkgs.runCommand "fallback-path-environment" {} '''
55 mkdir -p $out
56 ln -s ''${config.environment.usrbinenv} $out/env
57 ln -s ''${config.environment.binsh} $out/sh
58 ''')
59 ]
60 '';
53 description = lib.mdDoc "Extra packages to join into collection of fallback executables in case not other executable is found"; 61 description = lib.mdDoc "Extra packages to join into collection of fallback executables in case not other executable is found";
54 }; 62 };
55 }; 63 };