Skip to content

wineWowPackages do not build on darwin x86_64 #137734

Description

@maisem

Describe the bug

wineWowPackages.stable doesn't build on x86_64-darwin

❯ nix-env -iA nixpkgs.wineWowPackages.stable
installing 'wine-wow-6.0'
error: Multilib clang-7.1.0 not supported for 'x86_64-darwin'
(use '--show-trace' to show detailed location information)

Steps To Reproduce

Steps to reproduce the behavior:

  1. on darwin with nixpkgs run
    nix-env -iA nixpkgs.wineWowPackages.stable

Expected behavior

Expected wine to install properly

Additional context

Problem looks to be stemming from

map (x: "${lib.getLib x}/lib") ([ stdenv.cc.cc ] ++ buildInputs)

https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/emulators/wine/base.nix#L92

Notify maintainers

@avnik @raskin @bendlas

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-darwin"`
 - host os: `Darwin 20.3.0, macOS 10.16`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.4pre20210326_dd77f71`
 - channels(maisem): `"darwin, home-manager-20.09, nixpkgs-21.11pre294471.51bb9f3e9ab"`
 - channels(root): `"darwin, nixpkgs-21.05pre278688.c0e88185200"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: darwinRunning or building packages on Darwin

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions