home-manager
home-manager copied to clipboard
bug: Home-manger nixpkgs is not updated
Are you following the right branch?
- [X] My Nixpkgs and Home Manager versions are in sync
Is there an existing issue for this?
- [X] I have searched the existing issues
Issue description
The issue is I cannot update HM from stateversion 24.05 to stateversion 24.11
building the system configuration...
error:
… while evaluating the attribute 'value'
at /nix/store/qgbn0imyridkb9527v6gnv6z3jzzprb9-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
… while calling the 'addErrorContext' builtin
at /nix/store/qgbn0imyridkb9527v6gnv6z3jzzprb9-source/lib/modules.nix:809:17:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: A definition for option `home-manager.users.eveeifyeve.home.stateVersion' is not of type `one of "18.09", "19.03", "19.09", "20.03", "20.09", "21.03", "21.05", "21.11", "22.05", "22.11", "23.05", "23.11", "24.05"'. Definition values:
- In `/nix/store/x7vcsiwg16fcblkdr5vly9xq28qz4l5f-source/hosts/macos/home.nix': "24.11"
```
```
trace: warning: eveeifyeve profile: You are using
Home Manager version 24.05 and
Nixpkgs version 24.11.
Using mismatched versions is likely to cause errors and unexpected
behavior. It is therefore highly recommended to use a release of Home
Manager that corresponds with your chosen release of Nixpkgs.
If you insist then you can disable this warning by adding
home.enableNixpkgsReleaseCheck = false;
to your configuration.
it also includes a bunch of lib.mkDoc issues eg:
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can
Maintainer CC
@rycee
System information
- system: `"aarch64-darwin"`
- host os: `Darwin 23.4.0, macOS 14.4`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.18.2`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
I kinda had to accept the nixpkgs and hm are in sync since I had no choice to do it
Looks like you have an old version of Home Manager. Please make sure to update your HM channel and try again.
I did still doesn't work
The same problem here, I think home-manager migrates to unstable channel a little slow.
i had same issue; but uninstalling and re-installing home manager made it go away
Also seeing something similar, though mine might be due to my usage of NUR
No Home Manager branch available for Nixpkgs 24.11'
I am used to seeing this issue when the NUR package falls a bit behind.
Not sure if I am then also seeing this issue, considering that.
Anyway, I'd normally see 24.11 associated with master around here
Any updates on this? I'm having the same issue. I've tried updating the channel, no luck.
Yeah updates on this if your using a flake do nix flake update the channel and it should fix this issue.
I am going to go ahead and close this issue as solved but if you have more issues with this open a new issue
I also ran into this issue/a similar issue, using the stable home-manager branch with nixos-24.05 channel shows this :
Home Manager version 24.05 and
Nixpkgs version 24.11.
If I however use the unstable branch with the 24.05, there is no warning, the documentation states that unstable supports 24.05, I'm not sure if that's true today or not