get rid of nasty CC stuff

This commit is contained in:
Joel Taylor
2014-09-09 13:54:26 -07:00
parent 0577499d74
commit 6f949b2e87
7 changed files with 12 additions and 21 deletions
+3 -2
View File
@@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = http://tarballs.nixos.org/getopt-1.1.4.tar.gz;
md5 = "02188ca68da27c4175d6e9f3da732101";
};
buildFlags = stdenv.lib.optional stdenv.isDarwin [ "CC=clang" ];
preBuild = ''
export buildFlags=CC="$CC" # for darwin
'';
}