mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libmypaint: use Python 3
Results in binary-indentical library 🎉
This commit is contained in:
parent
ca7e098d63
commit
0243f4455b
@ -7,7 +7,7 @@
|
||||
, json_c
|
||||
, libtool
|
||||
, pkgconfig
|
||||
, python2
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
intltool
|
||||
libtool
|
||||
pkgconfig
|
||||
python2
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postPatch = ''
|
||||
sed 's|python2|python|' -i autogen.sh
|
||||
'';
|
||||
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user