about summary refs log tree commit diff
path: root/pkgs/stdenv/generic
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-04-28 00:08:48 -0400
committerJohn Cotton Ericson <jcericson@macos-ny-2.office.obsidian.systems>2020-05-12 00:44:44 -0400
commit1ac5398589916a6a433e845342c9b85c4c52f5dc (patch)
tree4e525c4c01cdc5a79105de31d962ba024833f69d /pkgs/stdenv/generic
parentf7a93031a284d39e303e98006a82250e3139cee9 (diff)
downloadnixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar
nixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.gz
nixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.bz2
nixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.lz
nixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.xz
nixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.zst
nixlib-1ac5398589916a6a433e845342c9b85c4c52f5dc.zip
*-wrapper; Switch from `infixSalt` to `suffixSalt`
I hate the thing too even though I made it, and rather just get rid of
it. But we can't do that yet. In the meantime, this brings us more
inline with autoconf and will make it slightly easier for me to write a
pkg-config wrapper, which we need.
Diffstat (limited to 'pkgs/stdenv/generic')
-rw-r--r--pkgs/stdenv/generic/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix
index 77d70e84258d..e17b41eab320 100644
--- a/pkgs/stdenv/generic/default.nix
+++ b/pkgs/stdenv/generic/default.nix
@@ -98,7 +98,7 @@ let
       # TODO: This really wants to be in stdenv/darwin but we don't have hostPlatform
       # there (yet?) so it goes here until then.
       preHook = preHook+ lib.optionalString buildPlatform.isDarwin ''
-        export NIX_BUILD_DONT_SET_RPATH=1
+        export NIX_DONT_SET_RPATH_FOR_BUILD=1
       '' + lib.optionalString (hostPlatform.isDarwin || (hostPlatform.parsed.kernel.execFormat != lib.systems.parse.execFormats.elf && hostPlatform.parsed.kernel.execFormat != lib.systems.parse.execFormats.macho)) ''
         export NIX_DONT_SET_RPATH=1
         export NIX_NO_SELF_RPATH=1
@@ -107,7 +107,7 @@ let
       # think the best solution would just be to fixup linux RPATHs so we don't
       # need to set `-rpath` anywhere.
       # + lib.optionalString targetPlatform.isDarwin ''
-      #   export NIX_TARGET_DONT_SET_RPATH=1
+      #   export NIX_DONT_SET_RPATH_FOR_TARGET=1
       # ''
       ;