diff --git a/pkgs/development/libraries/openssl/1.0.0e.nix b/pkgs/development/libraries/openssl/1.0.0e.nix index 73cdd1c3162a..01f9eca15bb9 100644 --- a/pkgs/development/libraries/openssl/1.0.0e.nix +++ b/pkgs/development/libraries/openssl/1.0.0e.nix @@ -1,13 +1,15 @@ { stdenv, fetchurl, perl }: let + name = "openssl-1.0.0e"; + opensslCrossSystem = stdenv.lib.attrByPath [ "openssl" "system" ] (throw "openssl needs its platform name cross building" null) stdenv.cross; in -stdenv.mkDerivation rec { - name = "openssl-1.0.0e"; +stdenv.mkDerivation { + inherit name; src = fetchurl { url = "http://www.openssl.org/source/${name}.tar.gz"; diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 52336ba3d50a..e51b88f5bca8 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -1,13 +1,15 @@ { stdenv, fetchurl, perl }: let + name = "openssl-1.0.0d"; + opensslCrossSystem = stdenv.lib.attrByPath [ "openssl" "system" ] (throw "openssl needs its platform name cross building" null) stdenv.cross; in -stdenv.mkDerivation rec { - name = "openssl-1.0.0d"; +stdenv.mkDerivation { + inherit name; src = fetchurl { url = "http://www.openssl.org/source/${name}.tar.gz";