libmypaint: use Python 3

Results in binary-indentical library 🎉
This commit is contained in:
Jan Tojnar 2019-11-28 13:56:44 +01:00
parent ca7e098d63
commit 0243f4455b
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -7,7 +7,7 @@
, json_c , json_c
, libtool , libtool
, pkgconfig , pkgconfig
, python2 , python3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
intltool intltool
libtool libtool
pkgconfig pkgconfig
python2 python3
]; ];
buildInputs = [ buildInputs = [
@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
postPatch = ''
sed 's|python2|python|' -i autogen.sh
'';
preConfigure = "./autogen.sh"; preConfigure = "./autogen.sh";
meta = with stdenv.lib; { meta = with stdenv.lib; {