parted: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-18 16:34:58 +02:00
parent db0df92bbf
commit cf66e2feab

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, devicemapper, libuuid, gettext, readline, perl, python
{ stdenv, fetchurl, devicemapper, libuuid, gettext, readline, perl, python2
, utillinux, check, enableStatic ? false, hurd ? null }:
stdenv.mkDerivation rec {
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (gettext != null) gettext
++ stdenv.lib.optional (devicemapper != null) devicemapper
++ stdenv.lib.optional (hurd != null) hurd
++ stdenv.lib.optionals doCheck [ check perl python ];
++ stdenv.lib.optionals doCheck [ check perl python2 ];
configureFlags =
(if (readline != null)