diff options
Diffstat (limited to 'modules/by-name/ni/nix/module.nix')
| -rw-r--r-- | modules/by-name/ni/nix/module.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/by-name/ni/nix/module.nix b/modules/by-name/ni/nix/module.nix index 31977d4c..391f38e5 100644 --- a/modules/by-name/ni/nix/module.nix +++ b/modules/by-name/ni/nix/module.nix @@ -24,10 +24,9 @@ pkgs.lixPackageSets.latest.lix; nixWrapperBase = pkgs.writeShellApplication { - inherit (lix) name; + name = "nix"; text = builtins.readFile ./nix_wrapper.sh; - inheritPath = false; runtimeInputs = [ pkgs.lixPackageSets.latest.lix pkgs.libnotify @@ -38,6 +37,9 @@ pkgs.bc ]; + # the wrapped nix command might call random other stuff. + inheritPath = true; + derivationArgs = { inherit (lix) meta pname version; }; |
