-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
"error: attribute 'definitionsWithLocations' missing" after nix-channel --update #849
Comments
experiencing a similar error after a |
Also experiencing this when I run my usual Admittedly I'm not nearly familiar enough with nix to expect to have much luck troubleshooting this, but here's the full output from adding Full output
|
I was able to finally get past this issue by making the following change in https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
- https://nixos.org/channels/nixos-22.05 nixpkgs
+ https://nixos.org/channels/nixos-24.05 nixpkgs @pasviegas, @timsears Wanted to share just in case either of you still hadn't gotten a resolution to this and hadn't tried something similar already. |
this worked for me! thank you @awseward |
Yeah, 22.05 is too old for us to support; we currently try to support one or two Nixpkgs releases back. #727 might have helped here. In general I would strongly recommend keeping your Nixpkgs channel up to date, as older releases are only supported upstream for a short period of time after a new version. |
Hi! I am getting this error:
When doing a "darwin-rebuild switch" after a "nix-channel --update darwin".
I am not sure what to change in my config to fix. Thanks in advance.
The text was updated successfully, but these errors were encountered: