From 540a6412e30e8f27bdd82f13b308524db2431f6c Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Wed, 12 Apr 2017 19:01:49 +0200 Subject: [PATCH] suitesparse_4_4: NIX_CFLAGS -> NIX_CFLAGS_COMPILE Tested with nix-build -A suitesparse_4_4 --- pkgs/development/libraries/science/math/suitesparse/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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