mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:21:57 +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
|
, 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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user