Skip to content

mingw builds are broken #12889

@edolstra

Description

@edolstra
Member

Describe the bug

Evaluation currently fails after the update to nixpkgs-unstable:

$ nix build .#hydraJobs.binaryTarballCross.x86_64-linux.x86_64-w64-mingw32
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'nix-binary-tarball-2.29.0pre20250402_b87b16f'
         whose name attribute is located at /nix/store/9qd2bi98nh9yd4axm9zr16zln01w62q3-source/pkgs/stdenv/generic/make-derivation.nix:375:7

       … while evaluating attribute 'buildCommand' of derivation 'nix-binary-tarball-2.29.0pre20250402_b87b16f'
         at /nix/store/9qd2bi98nh9yd4axm9zr16zln01w62q3-source/pkgs/build-support/trivial-builders/default.nix:63:17:
           62|         enableParallelBuilding = true;
           63|         inherit buildCommand name;
             |                 ^
           64|         passAsFile = [ "buildCommand" ]

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

       error: Package ‘tbb-2021.11.0’ in /nix/store/9qd2bi98nh9yd4axm9zr16zln01w62q3-source/pkgs/development/libraries/tbb/default.nix:65 is not available on the requested hostPlatform:
         hostPlatform.config = "x86_64-w64-mingw32"
...

Steps To Reproduce

Expected behavior

Metadata

Additional context

Checklist

  • checked open bug issues and pull requests for possible duplicates

Add 👍 to issues you find important.

Activity

added
build-problemNix fails to compile or test; also improvements to build process
on Apr 2, 2025
Mic92

Mic92 commented on Apr 8, 2025

@Mic92
Member

Needs to be fixed in nixpkgs

Ericson2314

Ericson2314 commented on Apr 8, 2025

@Ericson2314
Member

NixOS/nixpkgs#396442 should fix it, specifically the "libblake3: Don't use TBB by default for now" commit

Ericson2314

Ericson2314 commented on Apr 8, 2025

@Ericson2314
Member
oconnor663

oconnor663 commented on Apr 21, 2025

@oconnor663

I'm not a Nix user myself, but does the just-released version 1.8.2 fix this issue?

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

Metadata

Metadata

Assignees

Labels

bugbuild-problemNix fails to compile or test; also improvements to build process

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Mic92@oconnor663@Ericson2314@edolstra

      Issue actions

        mingw builds are broken · Issue #12889 · NixOS/nix