thiagokokada/nix-alien

NIX_LD isn't a PATH-like variable

soleera opened this issue · 2 comments

NIX_LD is executed directly by nix-ld, not processed as a PATH-like variable, so we should remove ${"\${NIX_LD:+':'}$NIX_LD"} from nix_ld.template.nix and nix_ld_flake.template.nix (e.g. this is how the nix-ld example scripts set NIX_LD at the moment).

Currently this results in a segmentation fault when trying to use nix-alien-ld.

Pushed a fix in commit 32d5665, if you @soleera could test it would be useful since I don't use nix-ld anymore.

I am assuming that the issue was fixed with the commit above, so closing this issue. If this is still an issue, please re-open.