I have not been able to nixos-rebuild my system. I removed celluloid from home.packages. But when I run nixos-rebuild it still tries to build celluloid. Celluloid has a dependency: deno. My laptop is old and it takes a very long time to compile deno. I do not attempt compiling. I’m on 25.11 stable release. But nixos-rebuild is fetching and building deno 2.6.10 (which is on unstable release) for some reason. I tried running this command:
I want to remove celluloid and nixos-rebuild and be able to use my laptop. But I cannot nixos-rebuild or do anything. My nixos system have been behaving very strangely recently.
Here is my config for reference:
On update_flake_lock_action branch I removed celluloid, wrappers (not used) and sops-nix (a different problem).
Thank you for your response! I didn’t know the difference between release-25.11 and nixos-25.11. Now, when I try to build with celluloid it doesn’t recompile!
To find the source of a build time dependency without actually doing the build you need to pass --derivation to nix why-depends. Without it the package has to be built first to check if it’s in the eventual runtime closure.