Skip to content

Build failure: nvtop #456940

Closed
Closed

Description

@brianmcgillion

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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. brianmcgillion commented on Oct 30, 2025

    @brianmcgillion
    ContributorAuthor

    @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.

  2. ConnorBaker commented on Oct 30, 2025

    @ConnorBaker
    Contributor

    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.cudaSupport be enabled.

    See also:

  3. Baughn commented on Nov 2, 2025

    @Baughn
    Contributor

    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.cudaSupport be enabled.

    See also:

    cudaSupport isn't documented in man configuration.nix, though. How does one actually enable it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions