The mkShell
should set NIX_NO_SELF_RPATH = true;
by default
#173025
Labels
0.kind: build failure
A package fails to build
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
The
mkShell
is intended to create a shell to be used bynix-shell
. Therefore it's$out
doesn't even exist.Recently there was a PR #153194 that made the shell buildable, but I still think this should be the default.
The
NIX_NO_SELF_RPATH = true;
would ensure that$out/lib64
and$out/lib
does not appear in the$NIX_LDFLAGS
, and this would ensure that any compiled objects in that shell do not get these non-existent paths in their rpath.Notify maintainers
@zimbatm
The text was updated successfully, but these errors were encountered: