summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-04-12 19:01:49 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2017-04-12 19:27:03 +0200
commit540a6412e30e8f27bdd82f13b308524db2431f6c (patch)
treea4640d834ea866b0a5844c48a50a55a398d8f003
parenta883581ddb56e9907452b7c3f9146f1fc7f92161 (diff)
downloadnixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.tar
nixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.tar.gz
nixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.tar.bz2
nixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.tar.lz
nixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.tar.xz
nixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.tar.zst
nixlib-540a6412e30e8f27bdd82f13b308524db2431f6c.zip
suitesparse_4_4: NIX_CFLAGS -> NIX_CFLAGS_COMPILE
Tested with nix-build -A suitesparse_4_4
-rw-r--r--pkgs/development/libraries/science/math/suitesparse/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/science/math/suitesparse/default.nix b/pkgs/development/libraries/science/math/suitesparse/default.nix
index 7712a2890f1b..f38de0884244 100644
--- a/pkgs/development/libraries/science/math/suitesparse/default.nix
+++ b/pkgs/development/libraries/science/math/suitesparse/default.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation {
     "LAPACK="
   ];
 
-  NIX_CFLAGS = stdenv.lib.optionalString stdenv.isDarwin " -DNTIMER";
+  NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin " -DNTIMER";
 
   postInstall = ''
     # Build and install shared library