Skip to content

Build failure: zig #353702

Description

@ryanseipp

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix repl
  2. :lf github:nixos/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d
  3. :b outputs.legacyPackages.aarch64-darwin.zig

Build log

https://gist.github.com/ryanseipp/9ecd265a0ab3fcd41383413f770e1990

Additional context

Appears to be a path lookup problem.

# looking up
/nix/store/4s8z8il6zyq77ixy4b8kfzwsnz90vsrm-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk//nix/store/4s8z8il6zyq77ixy4b8kfzwsnz90vsrm-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/system/libunwind.tbd
# actual path
/nix/store/4s8z8il6zyq77ixy4b8kfzwsnz90vsrm-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/system/libunwind.tbd

Notify maintainers

@andrewrk @figsoda

Metadata

❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 24.1.0, macOS 15.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.24.9`
 - nixpkgs: `/Users/ryanseipp/.nix-defexpr/channels/nixpkgs`

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: zigZig is an imperative, general-purpose, statically typed, compiled system programming language.

    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