From da6a7d5c69aa3e8b70755e88be0f44b642422114 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 7 Dec 2023 20:32:45 +0100 Subject: bump --- modules/envfs.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/envfs.nix') 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 { ln -s ${config.environment.binsh} $out/sh '') ]; + defaultText = lib.literalExpression '' + [ (pkgs.runCommand "fallback-path-environment" {} ''' + mkdir -p $out + ln -s ''${config.environment.usrbinenv} $out/env + ln -s ''${config.environment.binsh} $out/sh + ''') + ] + ''; description = lib.mdDoc "Extra packages to join into collection of fallback executables in case not other executable is found"; }; }; -- cgit v1.2.3