From 5c09167b670a55d7092c581cc5d9565cb1629684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 22 Nov 2012 10:54:56 +0100 Subject: [PATCH] myEnv: making it not to add -rpath /lib NIX_LDFLAGS was left with "-rpath /lib", which is annoying on non-nixos. --- pkgs/misc/my-env/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 990606668fe8..19c105bf4f02 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