mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
llvm: Use the sw_vers program on darwin
svn path=/nixpkgs/trunk/; revision=29925
This commit is contained in:
parent
252286194e
commit
7c32c9c426
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, groff }:
|
||||
{ stdenv, fetchurl, perl, groff, darwinSwVersUtility }:
|
||||
|
||||
let version = "2.9"; in
|
||||
|
||||
@ -10,7 +10,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "0y9pgdakn3n0vf8zs6fjxjw6972nyw4rkfwwza6b8a3ll77kc4k6";
|
||||
};
|
||||
|
||||
buildInputs = [ perl groff ];
|
||||
buildInputs = [ perl groff ] ++
|
||||
stdenv.lib.optional stdenv.isDarwin darwinSwVersUtility;
|
||||
|
||||
configureFlags = [ "--enable-optimized" "--enable-shared" "--disable-static" ]
|
||||
++ stdenv.lib.optionals (stdenv.gcc ? clang) [
|
||||
|
Loading…
Reference in New Issue
Block a user