diff options
author | Peter Simons <simons@cryp.to> | 2011-09-21 18:48:04 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-09-21 18:48:04 +0000 |
commit | d709ef5d30dfddb06bfa475ba82256b3692dd3de (patch) | |
tree | 83fa6fab82224fa8d03384758f0ea3d1595f12b1 /pkgs/development/libraries/openssl | |
parent | 6fcd493d5fb64132b377ce62777a1ef83cc94a82 (diff) |
openssl: avoid the need for a recursive expression
svn path=/nixpkgs/trunk/; revision=29426
Diffstat (limited to 'pkgs/development/libraries/openssl')
-rw-r--r-- | pkgs/development/libraries/openssl/1.0.0e.nix | 6 | ||||
-rw-r--r-- | pkgs/development/libraries/openssl/default.nix | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/openssl/1.0.0e.nix b/pkgs/development/libraries/openssl/1.0.0e.nix index 73cdd1c3162a5..01f9eca15bb9c 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 52336ba3d50ab..e51b88f5bca8a 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"; |