NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.28k stars 13.53k forks source link

Build failure: renderdoc #328230

Closed mourogurt closed 1 month ago

mourogurt commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior: nix-shell -p renderdoc

Build log

error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'shell'
         whose name attribute is located at /nix/store/17yva4wrhsh8i272jpswrkjgg7nj87wn-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:334:7

       … while evaluating attribute 'buildInputs' of derivation 'shell'

         at /nix/store/17yva4wrhsh8i272jpswrkjgg7nj87wn-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:381:7:

          380|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          381|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          382|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Package ‘shiboken2-5.15.11’ in /nix/store/17yva4wrhsh8i272jpswrkjgg7nj87wn-nixos/nixos/pkgs/development/python-modules/shiboken2/default.nix:54 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

Maybe related to #325832

Notify maintainers

This package has no maintainers.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

~> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.9, NixOS, 24.11 (Vicuna), 24.11pre652902.693bc46d169f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos, nixos-master"`
 - channels(zatm8): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

RossComputerGuy commented 1 month ago

This is similar to the freecad issue. Will be fixed by #326159.