inkscape: patch python interpreter for extension code
This commit is contained in:
parent
b116a1c65c
commit
bd4c6b456e
@ -26,17 +26,18 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs share/extensions
|
patchShebangs share/extensions
|
||||||
patchShebangs fix-roff-punct
|
patchShebangs fix-roff-punct
|
||||||
'';
|
|
||||||
|
|
||||||
# Python is used at run-time to execute scripts, e.g., those from
|
# Python is used at run-time to execute scripts, e.g., those from
|
||||||
# the "Effects" menu.
|
# the "Effects" menu.
|
||||||
propagatedBuildInputs = [ python2Env ];
|
substituteInPlace src/extension/implementation/script.cpp \
|
||||||
|
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig perl perlXMLParser libXft libpng zlib popt boehmgc
|
pkgconfig perl perlXMLParser libXft libpng zlib popt boehmgc
|
||||||
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
|
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
|
||||||
makeWrapper intltool gsl poppler imagemagick libwpg librevenge
|
makeWrapper intltool gsl poppler imagemagick libwpg librevenge
|
||||||
libvisio libcdr libexif automake114x potrace cmake
|
libvisio libcdr libexif automake114x potrace cmake python2Env
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user