summaryrefslogtreecommitdiff
path: root/modules/envfs.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-12-07 20:32:45 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-12-07 20:32:45 +0100
commitda6a7d5c69aa3e8b70755e88be0f44b642422114 (patch)
treebb64c8f76a0655b0967d73d7de3541fe2825aa57 /modules/envfs.nix
parent26ba0280e38648a787a5ef60807f91765c40d1d5 (diff)
downloadnixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar
nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.gz
nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.bz2
nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.xz
nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.zip
bump
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 };