pythonPackages.nixpart: use checkInputs
This commit is contained in:
parent
7739f79ff3
commit
fd056d838e
@ -13,8 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional (readline != null) readline
|
++ stdenv.lib.optional (readline != null) readline
|
||||||
++ stdenv.lib.optional (gettext != null) gettext
|
++ stdenv.lib.optional (gettext != null) gettext
|
||||||
++ stdenv.lib.optional (lvm2 != null) lvm2
|
++ stdenv.lib.optional (lvm2 != null) lvm2
|
||||||
++ stdenv.lib.optional (hurd != null) hurd
|
++ stdenv.lib.optional (hurd != null) hurd;
|
||||||
++ stdenv.lib.optional doCheck check;
|
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
(if (readline != null)
|
(if (readline != null)
|
||||||
@ -24,11 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional enableStatic "--enable-static";
|
++ stdenv.lib.optional enableStatic "--enable-static";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = [ check utillinux ];
|
||||||
preCheck =
|
|
||||||
stdenv.lib.optionalString doCheck
|
|
||||||
# The `t0400-loop-clobber-infloop.sh' test wants `mkswap'.
|
|
||||||
"export PATH=\"${utillinux}/sbin:$PATH\"";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Create, destroy, resize, check, and copy partitions";
|
description = "Create, destroy, resize, check, and copy partitions";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user