nix-tools: only pass config.nix.nixPath through if nix.enable
This commit is contained in:
parent
42e16f31c6
commit
d677e3e844
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ let
|
|||
nix-tools = pkgs.callPackage ../../pkgs/nix-tools {
|
||||
inherit (config.system) profile;
|
||||
inherit (config.environment) systemPath;
|
||||
nixPath = lib.concatStringsSep ":" config.nix.nixPath;
|
||||
nixPath = lib.optionalString config.nix.enable (lib.concatStringsSep ":" config.nix.nixPath);
|
||||
};
|
||||
|
||||
darwin-uninstaller = pkgs.callPackage ../../pkgs/darwin-uninstaller { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue