darwin's stdenv bootstrap tools ship a broken libiconv.dylib #158331
Labels
0.kind: bug
Something is broken
6.topic: darwin
Running or building packages on Darwin
6.topic: stdenv
Standard environment
Follow up on #158328
Steps to reproduce
Problem
The library itself doesn't contain any symbols:
It seems to rely on LC_REEXPORT_DYLIB to link to the two other libraries:
However the RPATH is not set for the library (the store path can not be known in advance). But set during the test:
nixpkgs/pkgs/stdenv/darwin/make-bootstrap-tools.nix
Line 332 in 598c791
Perhaps this should use
@origin
(but would that work for linking libhello?). And/or it could be that we can get rid of libiconv from the tools.The normal version just uses full paths:
The text was updated successfully, but these errors were encountered: