Merge pull request #66425 from Gerschtli/fix/path-order

environment.profiles: fix order of profiles and PATH
This commit is contained in:
Matthew Bauer
2019-08-13 15:06:09 -04:00
committed by GitHub
2 changed files with 6 additions and 4 deletions

View File

@@ -23,9 +23,8 @@ in
XCURSOR_PATH = [ "$HOME/.icons" ];
};
environment.profiles =
[ "$HOME/.nix-profile"
"/nix/var/nix/profiles/default"
environment.profiles = mkAfter
[ "/nix/var/nix/profiles/default"
"/run/current-system/sw"
];