mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 07:48:58 +00:00
* On x86_64-darwin, "./config" misdetects the system as
"darwin-i386-cc" (http://hydra.nixos.org/build/498076). So specify the system type explicitly. svn path=/nixpkgs/branches/x-updates/; revision=22726
This commit is contained in:
parent
9b87ffa522
commit
4a6eb1183e
|
@ -17,8 +17,11 @@ stdenv.mkDerivation rec {
|
|||
patches = stdenv.lib.optional stdenv.isDarwin ./darwin-arch.patch;
|
||||
|
||||
buildNativeInputs = [ perl ];
|
||||
|
||||
configureScript = "./config";
|
||||
|
||||
# On x86_64-darwin, "./config" misdetects the system as
|
||||
# "darwin-i386-cc". So specify the system type explicitly.
|
||||
configureScript =
|
||||
if stdenv.system == "x86_64-darwin" then "./Configure darwin64-x86_64-cc" else "./config";
|
||||
|
||||
configureFlags = "shared --libdir=lib";
|
||||
|
||||
|
|
Loading…
Reference in a new issue