Can't update to nixos-unstable

originally I had my nixos channel alias set to nixos-24.11

I now have two channels, nix-hardware (from github) and nixos-unstable (alias nixos)
but I can’t build it. I keep getting an error.

ERROR Missing dependencies:
        setuptools
copying path '/nix/store/pkka0123fhwhm5gf9qa4lrvvi7rxrp98-ffmpeg-7.1-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/v45c2f6q3mg6y6di90wybfrhnjln082r-wine-wow-10.0' from 'https://cache.nixos.org'...
copying path '/nix/store/121xnvsx8hzai49cyxyx4z7k22i3q6qb-openconnect-9.12' from 'https://cache.nixos.org'...
building '/nix/store/ki1xlfnqf0slnngap1yfmcich44n901i-unit-suid-sgid-wrappers.service.drv'...
error: builder for '/nix/store/3sji31wydg2b30k05vz3ri85d21120j4-python3.12-manim-0.19.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/87rh46fhvdxq63xnnwps0d9c7fv8i3br-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nxw384ng042z55ap8my3mdbs1j02axkj-nixos-system-nixos-25.05beta750629.a79cfe0ebd24.drv' failed to build

i’ve tried including the python313Packages.setuptools package in my configuration.nix but it didn’t change anything.

what’s going on and what do I need to do to fix it?

That won’t work, remove it.

Report it on github at https://github.com/NixOS/nixpkgs/issues if no one else has and assuming it’s not been fixed yet on master.
setuptools should be part of build-system, though it’s unclear why this wasn’t caught earlier.

the program “manim” was messing with it, removing it fixed the issue, now I need to see if it isn’t available for the unstable channel.

It’s fixed in python3Packages.manim: fix build by Defelo · Pull Request #380526 · NixOS/nixpkgs · GitHub.

1 Like

@waffle8946 i’m relatively new to Nixos, how would I go about installing that fix?

The easiest way is to just wait. After some time the change will go into the nixos-unstable branch and you can add it back.

As said, just wait until this reaches nixos-unstable, which should be soon: https://nixpkgs-tracker.ocfox.me/?pr=380526