NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.11k stars 14.15k forks source link

Build failure: zig #354820

Closed wenzlawski closed 3 days ago

wenzlawski commented 3 days ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix shell nixpkgs#zig

Build log

https://gist.github.com/wenzlawski/9a470ed3485996405790be15c2f9fafd

Additional context

Also tried master branch with https://github.com/mitchellh/zig-overlay, with same outcome.

On nixpkgs 24.05 it manages to build without problems.

It always used to work. Am at a loss for what could be wrong. Somehow Zig does not find any of the dynamic libraries in the paths its looking in. Not sure where they are supposed to be but they are not where Zig is looking for them.

At one point it succeeded building Zig but then the zig executable was broken, never finding the *.dylibs.

Notify maintainers

@andrewrk @AndersonTorres @figsoda

Metadata

output of nix-shell -p nix-info --run "nix-info -m"

FliegendeWurst commented 3 days ago

Duplicate of #353702