Skip to content

Build failure: qtbase - materialgram & telegram-desktop & more packages on darwin #455059

@mio-19

Description

@mio-19

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

nix build .#telegram-desktop

nix build .#materialgram

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

nix build .#telegram-desktop
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'telegram-desktop-6.2.3'
         whose name attribute is located at /nix/store/zc6343k4hxmjvjw9230izgc6kfpz7rsf-source/pkgs/stdenv/generic/make-derivation.nix:544:13

       … while evaluating attribute 'buildInputs' of derivation 'telegram-desktop-6.2.3'
         at /nix/store/zc6343k4hxmjvjw9230izgc6kfpz7rsf-source/pkgs/stdenv/generic/make-derivation.nix:596:13:
          595|             depsHostHost = elemAt (elemAt dependencies 1) 0;
          596|             buildInputs = elemAt (elemAt dependencies 1) 1;
             |             ^
          597|             depsTargetTarget = elemAt (elemAt dependencies 2) 0;

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

       error: Package ‘wayland-1.24.0’ in /nix/store/zc6343k4hxmjvjw9230izgc6kfpz7rsf-source/pkgs/development/libraries/wayland/default.nix:98 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

last working nixpkgs-unstable cb82756

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.6.0, macOS 15.7.1
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.31.2
  • nixpkgs: /nix/store/pv11fms46b44vv50nvi3l1ckjdlrm6lf-source

Notify maintainers

@NickCao @oluceps @Aleksanaa @stellessia


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: darwinRunning or building packages on Darwin6.topic: qt/kdeObject-oriented framework for GUI creation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions