mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Don't put profiles in reverse-order in PATH
Your user-specific profile should take precedence over the system one. If I've gone out of my way to install something into my personal profile, my version should be used instead of the system's.
This commit is contained in:
parent
00315bcc9e
commit
c8a04807eb
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ in {
|
|||
|
||||
environment.systemPath = mkOption {
|
||||
type = types.loeOf types.path;
|
||||
default = (reverseList cfg.profiles) ++ [ "/usr/local" "/usr" "" ];
|
||||
default = cfg.profiles ++ [ "/usr/local" "/usr" "" ];
|
||||
description = "The set of paths that are added to PATH.";
|
||||
apply = x: if isList x then makeBinPath x else x;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue