Skip to content

Commit

Permalink
Merge pull request NixOS#26 from clhodapp/fix/path-order
Browse files Browse the repository at this point in the history
Don't put profiles in reverse-order in PATH
  • Loading branch information
LnL7 committed May 13, 2017
2 parents d61f3ff + c8a0480 commit ea179bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/environment/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit ea179bf

Please sign in to comment.