Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (25.11)
Steps to reproduce
nix build .#nvtopPackages.full
Can Hydra reproduce this build failure?
Link to Hydra build job
No response
Relevant log output
error: Package ‘cuda12.8-cuda_cuobjdump-12.8.90’ in /nix/store/0yi48zmj8b5mbarnahrrci9bid3cjrk4-source/pkgs/development/cuda-modules/packages/cuda_cuobjdump.nix:8 is marked as broken, refusing to evaluate.
a) To temporarily allow broken packages, you can use an environment variable
for a single invocation of the nix tools.
$ export NIXPKGS_ALLOW_BROKEN=1
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
b) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.Additional context
nvtop depends on cudatoolkit which has been deprecated in favor of cudaPackages. However, cudaPackages.cuda_cuobjdump, has the same issues.
System metadata
❯ nix-shell -p nix-info --run "nix-info -m"
- system:
"x86_64-linux" - host os:
Linux 6.17.5, NixOS, 25.11 (Xantusia), 25.11.20251028.08dacfc - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.32.2 - nixpkgs:
/nix/store/p6gvrb36n5dh0cdg6d77rkpapy5kc0gq-source
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Dominick DiMaggio, leong, Vazgen, Efrem Rensi and Luana
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
brianmcgillion commentedon Oct 30, 2025
@ConnorBaker if you have some pointers or examples where to start. I can look at a PR. but all my attempts with cudaPackages seems broken so far.
pkgs: glxinfo renamed, nvtop broken by cuda
ConnorBaker commentedon Oct 30, 2025
Hydra definitely shouldn’t be building this because CUDA packages have an unfree license.
As for why it’s marked broken: since #437723 CUDA packages require
config.cudaSupportbe enabled.See also:
pkgs: glxinfo renamed, nvtop broken by cuda
fix: nvtop broken, add pkgsCu for non-cuda machines
Baughn commentedon Nov 2, 2025
cudaSupport isn't documented in
man configuration.nix, though. How does one actually enable it?ConnorBaker commentedon Nov 2, 2025
https://nixos.org/manual/nixpkgs/stable/#opt-cudaSupport