-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
New profile location breaks home-manager #7930
Comments
Thanks for opening that. Also see nix-community/home-manager#2544 (which offers what I think is the best solution to that on the HM side) and NixOS/nixpkgs#218858 . I'm also working on a patch to provide some best-effort backwards-compatibility, but it's probably not going to be 100% reliable if people decide to tweak things a bit |
Discussed in the Nix team meeting 2023-03-23:
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-03-23-nix-team-meeting-minutes-43/26758/1 |
Closing since home-manager isn't impacted by this any more |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-03-31-nix-team-meeting-minutes-45/27002/1 |
My home-manager still/again seems to be impacted, ran into this when trying to start the home-manager-flokli.service on a new NixOS box. What's the recommended way forward here? Should I just |
@flokli what's your home-manager/Nix version? And what's the exact error you see? |
This was home-manager I didn't set any experimental xdg options in Nix. The log messages were:
|
Describe the bug
Nix 2.14 (presumably #5226) breaks the home-manager tests: https://github.com/nix-community/home-manager/actions/runs/4301868239/jobs/7499628919#step:8:260
(We're pinned on 2.13 for now, so no emergency)
The relevant code where home-manager seems to assume things about the default profile location is https://github.com/nix-community/home-manager/blob/master/modules/lib-bash/activation-init.sh
Does home-manager need to change, and if so, would those changes be compatible with older versions of Nix?
(I've spent exactly 0 seconds thinking about this, I'm just reporting the problem. 😴)
cc @fricklerhandwerk
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: