diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-08-08 21:34:25 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-08-11 09:35:27 +0000 |
commit | fd056d838e635fa7d7730297b11587e6722c8cb6 (patch) | |
tree | 1e180e1cf55a09d17d31eb190762883465a8fbf0 /pkgs/tools | |
parent | 7739f79ff30da354e4fe5f38e661b2ecaa36ab1c (diff) | |
download | nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.tar nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.tar.gz nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.tar.bz2 nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.tar.lz nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.tar.xz nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.tar.zst nixlib-fd056d838e635fa7d7730297b11587e6722c8cb6.zip |
pythonPackages.nixpart: use checkInputs
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/filesystems/nixpart/0.4/parted.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/tools/filesystems/nixpart/0.4/parted.nix b/pkgs/tools/filesystems/nixpart/0.4/parted.nix index 3f43fdc0c395..f356727e64bb 100644 --- a/pkgs/tools/filesystems/nixpart/0.4/parted.nix +++ b/pkgs/tools/filesystems/nixpart/0.4/parted.nix @@ -13,8 +13,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional (readline != null) readline ++ stdenv.lib.optional (gettext != null) gettext ++ stdenv.lib.optional (lvm2 != null) lvm2 - ++ stdenv.lib.optional (hurd != null) hurd - ++ stdenv.lib.optional doCheck check; + ++ stdenv.lib.optional (hurd != null) hurd; configureFlags = (if (readline != null) @@ -24,11 +23,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional enableStatic "--enable-static"; doCheck = true; - - preCheck = - stdenv.lib.optionalString doCheck - # The `t0400-loop-clobber-infloop.sh' test wants `mkswap'. - "export PATH=\"${utillinux}/sbin:$PATH\""; + checkInputs = [ check utillinux ]; meta = { description = "Create, destroy, resize, check, and copy partitions"; |