diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2012-11-22 10:54:56 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2012-11-22 10:55:53 +0100 |
commit | 5c09167b670a55d7092c581cc5d9565cb1629684 (patch) | |
tree | 15d1984bf99c51f6463bf2468f41473f05c075f5 /pkgs/misc | |
parent | 7a1629182869594a6ce6002b9966dd59c8db31ad (diff) |
myEnv: making it not to add -rpath /lib
NIX_LDFLAGS was left with "-rpath /lib", which is annoying on non-nixos.
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/my-env/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 990606668fe88..19c105bf4f02c 100644 --- a/pkgs/misc/my-env/default.nix +++ b/pkgs/misc/my-env/default.nix @@ -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 |