mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +00:00
Merge pull request #26 from clhodapp/fix/path-order
Don't put profiles in reverse-order in PATH
This commit is contained in:
commit
ea179bf9bf
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ in {
|
||||||
|
|
||||||
environment.systemPath = mkOption {
|
environment.systemPath = mkOption {
|
||||||
type = types.loeOf types.path;
|
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.";
|
description = "The set of paths that are added to PATH.";
|
||||||
apply = x: if isList x then makeBinPath x else x;
|
apply = x: if isList x then makeBinPath x else x;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue