From 2bd39ab0136e967ff32af0616f651798630c5682 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Tue, 25 Apr 2017 20:11:48 +0200 Subject: [PATCH] csdp: fix darwin build the build sets CC=clang causing it to essentially ignore the cc wrapper --- pkgs/applications/science/math/csdp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/math/csdp/default.nix b/pkgs/applications/science/math/csdp/default.nix index 7aafe9da41e4..796e8b7264fb 100644 --- a/pkgs/applications/science/math/csdp/default.nix +++ b/pkgs/applications/science/math/csdp/default.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation { sha256 = "1f9ql6cjy2gwiyc51ylfan24v1ca9sjajxkbhszlds1lqmma8n05"; }; - buildInputs = [ blas gfortran liblapack ]; + buildInputs = [ blas gfortran.cc.lib liblapack ]; postPatch = '' substituteInPlace Makefile --replace /usr/local/bin $out/bin