Move the gmp dependency to nettle, where it originates.

As pointed out by Ludovic Courtès.

svn path=/nixpkgs/trunk/; revision=26812
This commit is contained in:
Karn Kallio 2011-04-13 02:02:11 +00:00
parent d86630472b
commit e29d509152
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ fetchurl, stdenv, zlib, lzo, libtasn1, nettle
, guileBindings, guile, gmp }:
, guileBindings, guile }:
assert guileBindings -> guile != null;
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib lzo libtasn1 ]
++ stdenv.lib.optional guileBindings guile;
propagatedBuildInputs = [ nettle gmp ];
propagatedBuildInputs = [ nettle ];
doCheck = true;

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0knp778738dpgbcj1yz54a7jsvmarfiafzl05z086bc470z6plmp";
};
buildInputs = [ gmp gnum4 ];
buildInputs = [ gnum4 ];
propagatedBuildInputs = [ gmp ];
doCheck = (stdenv.system != "i686-cygwin");