diff options
| author | Chris Hodapp <clhodapp1@gmail.com> | 2017-05-12 00:32:03 -0700 |
|---|---|---|
| committer | Chris Hodapp <clhodapp1@gmail.com> | 2017-05-12 00:47:47 -0700 |
| commit | c8a04807eb9c17d709432fb97cfba0d75c7138d2 (patch) | |
| tree | 49bb1669d84a83fc42e572ce74cb286e1859e5cf /modules | |
| parent | 00315bcc9e3fc3337f4bb8c84b9aa8a39515c661 (diff) | |
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.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/environment/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix index 2e3d921..1e48065 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -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; }; |
