From ba315f3052e0a447a9892bac37bf06cb51f878d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 16 Sep 2009 14:26:00 +0000 Subject: [PATCH] Fix GNU Nettle. svn path=/nixpkgs/trunk/; revision=17194 --- pkgs/development/libraries/nettle/default.nix | 4 +++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/nettle/default.nix b/pkgs/development/libraries/nettle/default.nix index 65e4ac4da5e..1b439eed9b7 100644 --- a/pkgs/development/libraries/nettle/default.nix +++ b/pkgs/development/libraries/nettle/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv }: +{ fetchurl, stdenv, gmp, gnum4 }: stdenv.mkDerivation rec { name = "nettle-2.0"; @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1mnb2zx6yxfzkkv8hnrjzhjviybd45z92wq4y5sv1gskp4qf5fb5"; }; + buildInputs = [ gmp gnum4 ]; + doCheck = true; meta = { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20f36cc1e33..5643b4d7540 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3921,7 +3921,7 @@ let }; nettle = import ../development/libraries/nettle { - inherit fetchurl stdenv; + inherit fetchurl stdenv gmp gnum4; }; nspr = import ../development/libraries/nspr {