3
0
Fork 0
forked from mirrors/nixpkgs

csdp: fix darwin build

the build sets CC=clang causing it to essentially ignore the cc wrapper
This commit is contained in:
Daiderd Jordan 2017-04-25 20:11:48 +02:00
parent 14adea9156
commit 2bd39ab013
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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