New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems with PATH order, when using as nixos-module. #550
Comments
Thanks for the kind words! I think this is a bug in NixOS and there is not much Home Manager can do to solve this in an elegant manner. The while the others are defined together in The
in @oxij Found you in |
@rycee "merge order" for list options is not arbitrary; you can manipulate it with You could PR a nixpkgs change to do something like make the You could also add that same definition in home-manager's nixos module. Which would work fine, but would mean those two directories would appear in |
As far as I can tell, this issue will be resolved as soon as my PR in nixpkgs gets merged into the release channel. So I think we can close this issue, as there is nothing more to do then waiting. |
The fix is now available in nixos-19.03 channel. Issue can be closed. |
I don‘t have this problem anymore. But I changed my setup anyways. |
Since I upgraded my nixos to 18-09 I have the following problem:
My PATH contains the following 3 entries in this order:
So when using
home-manager
manually user installed packages take precedence over system packages because they land in.nix-profile
. But when using home-manager as a system module, the system binaries take precedence.There are of course easy workarounds for this. (Manually changing the PATH.)
But I am not sure what the best solution to this problem is and how to fix it in home-manager. Is this maybe a sign that we shouldn't install the user-environment to
/etc/profiles/per-user/
?I'd be glad for input. Thanks for home-manager. It's awesome!
The text was updated successfully, but these errors were encountered: