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
home manager not following user channel #376
Comments
Home Manager always uses $ home-manager -I nixpkgs=/nix/var/nix/profiles/per-user/$USER/channels/nixuns switch I'm not completely certain this will be the precise path to the channel directory but it should be something like it. You can probably also find it under |
Would it be possible to accommodate for this in the home.nix file? |
Sorry, no that's not possible because the package set needs to be loaded before home.nix.
…On September 9, 2018 6:32:07 AM GMT+03:00, Shreyansh Khajanchi ***@***.***> wrote:
Would it be possible to accommodate for this in the home.nix file?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#376 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Did this solution work for you? Typically in such situations I would create a shell alias along the lines of alias hm='home-manager -I nixpkgs=/nix/var/nix/profiles/per-user/$USER/channels/nixuns' And use the command |
Yes! Thank you. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/selective-upgrading-of-packages-in-home-manager/9436/2 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/nixos-and-home-manager-where-is-my-profile/23260/2 |
Hi,
I'm new to home-manager and to NixOS in general. Please pardon me if I am missing anything.
I'm following the unstable channel for my user profile.
BUT stable channel for the root/system profile
I've installed homemanager with nix-env
My
~/.config/nixpkgs/home.nix
file is as follows:However, when I generate my profile with home-manage, the packages are installed from the stable branch.
I think home-manager should use the same branch used by nix-env for building user profile packages.
I know this because home-manager, for example, installs libreoffice-fresh version 6.0.2.1 (which is from stable branch) and not 6.1.0.3 (which is available in unstable branch).
Another example is Go compiler. Version 1.10.1 is installed from stable but not 1.11 which is available in unstable which I'm following.
The text was updated successfully, but these errors were encountered: