myEnv: making it not to add -rpath /lib
NIX_LDFLAGS was left with "-rpath /lib", which is annoying on non-nixos.
This commit is contained in:
parent
7a16291828
commit
5c09167b67
@ -95,6 +95,8 @@ mkDerivation {
|
||||
phases=
|
||||
# only do all the setup stuff in nix-support/*
|
||||
set +e
|
||||
# This prevents having -rpath /lib in NIX_LDFLAGS
|
||||
export NIX_NO_SELF_RPATH=1
|
||||
if [[ -z "\$ZSH_VERSION" ]]; then
|
||||
source "$s"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user