Closed jkaye2012 closed 3 weeks ago
Yeah, you need to update your nixpkgs. The change uses the new lib.types.attrTag
which has been merged in nixpkgs' master branch on April 9.
Thanks - I didn't realize that channels had to be manually updated! Still learning over here. Appreciate the help
Hi, still failing even if I try to update nixpkgs-unstable channel. What command to run in order to update the nixpkgs?
I ran sudo nix-channel --update
and my previously failing build started
working.
On Sat, May 11, 2024, 6:42 PM Jeong, Heon @.***> wrote:
Hi, still failing even if I try to update nixpkgs-unstable channel. What command to run in order to update the nixpkgs?
— Reply to this email directly, view it on GitHub https://github.com/nix-community/home-manager/issues/5391#issuecomment-2106073191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7FL7HS7UXSIP3V7ILQPTLZB23GJAVCNFSM6AAAAABHQVJNCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGA3TGMJZGE . You are receiving this because you modified the open/close state.Message ID: @.***>
With that command, I had to add --upgrade
to nixos-rebuild switch
to made it work.
sudo nixos-rebuild switch -I {blahblah} -j 4 --upgrade
Are you following the right branch?
Is there an existing issue for this?
Issue description
I think a recent commit might have inadvertently broken NixOS builds (or I'm doing something incorrect):
Builds on this machine were functional last night. A build this morning with identical configuration (save for the home-manager version upgrade) fails with the message above. I believe that this change might be the cause.
Maintainer CC
No response
System information