summary refs log tree commit diff
path: root/pkgs/development/idris-modules
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/development/idris-modules
parentf7a93031a284d39e303e98006a82250e3139cee9 (diff)
downloadnixpkgs-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar
nixpkgs-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.gz
nixpkgs-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.bz2
nixpkgs-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.lz
nixpkgs-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.xz
nixpkgs-1ac5398589916a6a433e845342c9b85c4c52f5dc.tar.zst
nixpkgs-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/development/idris-modules')
-rw-r--r--pkgs/development/idris-modules/idris-wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/idris-modules/idris-wrapper.nix b/pkgs/development/idris-modules/idris-wrapper.nix
index 4e1d2f9c82e..68a1a0f267a 100644
--- a/pkgs/development/idris-modules/idris-wrapper.nix
+++ b/pkgs/development/idris-modules/idris-wrapper.nix
@@ -7,7 +7,7 @@ symlinkJoin {
   postBuild = ''
     wrapProgram $out/bin/idris \
       --run 'export IDRIS_CC=''${IDRIS_CC:-${stdenv.cc}/bin/cc}' \
-      --set NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST 1 \
+      --set 'NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}' 1 \
       --prefix NIX_CFLAGS_COMPILE " " "-I${lib.getDev gmp}/include" \
       --prefix NIX_CFLAGS_LINK " " "-L${lib.getLib gmp}/lib"
   '';