From f03362d8c7f8421bc5d935ba018bb924b90ad6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 4 Jun 2011 21:46:16 +0000 Subject: [PATCH] GNU Parted: Add Check as a dependency. svn path=/nixpkgs/trunk/; revision=27345 --- pkgs/tools/misc/parted/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix index b4ba49459aa9..8ceab316be92 100644 --- a/pkgs/tools/misc/parted/default.nix +++ b/pkgs/tools/misc/parted/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, devicemapper, libuuid, gettext, readline -, utillinuxng, xz, enableStatic ? false, hurd ? null }: +, utillinuxng, xz, check, enableStatic ? false, hurd ? null }: stdenv.mkDerivation rec { name = "parted-3.0"; @@ -14,7 +14,8 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional (readline != null) readline ++ stdenv.lib.optional (gettext != null) gettext ++ stdenv.lib.optional (devicemapper != null) devicemapper - ++ stdenv.lib.optional (hurd != null) hurd; + ++ stdenv.lib.optional (hurd != null) hurd + ++ stdenv.lib.optional doCheck check; configureFlags = (if (readline != null)