openssl: avoid the need for a recursive expression
svn path=/nixpkgs/trunk/; revision=29426
This commit is contained in:
parent
6fcd493d5f
commit
d709ef5d30
@ -1,13 +1,15 @@
|
|||||||
{ stdenv, fetchurl, perl }:
|
{ stdenv, fetchurl, perl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
name = "openssl-1.0.0e";
|
||||||
|
|
||||||
opensslCrossSystem = stdenv.lib.attrByPath [ "openssl" "system" ]
|
opensslCrossSystem = stdenv.lib.attrByPath [ "openssl" "system" ]
|
||||||
(throw "openssl needs its platform name cross building" null)
|
(throw "openssl needs its platform name cross building" null)
|
||||||
stdenv.cross;
|
stdenv.cross;
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
name = "openssl-1.0.0e";
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.openssl.org/source/${name}.tar.gz";
|
url = "http://www.openssl.org/source/${name}.tar.gz";
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
{ stdenv, fetchurl, perl }:
|
{ stdenv, fetchurl, perl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
name = "openssl-1.0.0d";
|
||||||
|
|
||||||
opensslCrossSystem = stdenv.lib.attrByPath [ "openssl" "system" ]
|
opensslCrossSystem = stdenv.lib.attrByPath [ "openssl" "system" ]
|
||||||
(throw "openssl needs its platform name cross building" null)
|
(throw "openssl needs its platform name cross building" null)
|
||||||
stdenv.cross;
|
stdenv.cross;
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
name = "openssl-1.0.0d";
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.openssl.org/source/${name}.tar.gz";
|
url = "http://www.openssl.org/source/${name}.tar.gz";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user