diff options
Diffstat (limited to 'pkgs/development/libraries/openssl/default.nix')
-rw-r--r-- | pkgs/development/libraries/openssl/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 47a698ddbc5..4e567cf6577 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -6,7 +6,7 @@ let stdenv.cross; in -stdenv.mkDerivation rec { +stdenv.mkDerivation ( rec { name = "openssl-0.9.8n"; src = fetchurl { @@ -14,9 +14,6 @@ stdenv.mkDerivation rec { sha256 = "008z1h09pa6dfxs4wgbqj5i1clw4v82b1waqvwanb1kb6wlbq6mh"; }; - # I disable the patch temporarily, as it does not apply to 0.9.8n - # patches = [ ./darwin-arch.patch ]; - buildNativeInputs = [ perl ]; configureScript = "./config"; @@ -39,4 +36,4 @@ stdenv.mkDerivation rec { homepage = http://www.openssl.org/; description = "A cryptographic library that implements the SSL and TLS protocols"; }; -} +} // (if stdenv.isDarwin then { patches = [./darwin-arch.patch]; } else {}) ) |