pylddwrap uses ldd from the base system and not nix
soleera opened this issue · 3 comments
I'm running nix on a musl-based distro, which mean the native ldd called by pylddwrap will not work with nix-alien. We need to use the ldd provided by nix instead (${pkgs.stdenv.cc.bintools.libc_bin}/bin/ldd
), however I'm not sure how feasible that change is given that pylddwrap has /usr/bin/env
hard-coded into the process call...
Does not look hugely difficult, basically we need to patch this line: https://github.com/Parquery/pylddwrap/blob/master/lddwrap/__init__.py#L196
I will open a PR in https://github.com/NixOS/nixpkgs soon-ish since I am also the maintainer of the library there.
Edit: this one too https://github.com/Parquery/pylddwrap/blob/master/lddwrap/__init__.py#L212.
The change was merged upstream. Once it hits nixpkgs-unstable
channel I will update the Flake lock so it uses it.
Fixed in 1211a1c.