inkscape: add numpy to runtime path

This is nessecary for some plugins
This commit is contained in:
Herwig Hochleitner
2016-02-17 01:19:17 +01:00
parent fc85f1beed
commit fbc147494c
2 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft { stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm , libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool , glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
, gsl, python, pyxml, lxml, poppler, imagemagick, libwpg, librevenge , gsl, python, numpy, pyxml, lxml, poppler, imagemagick, libwpg, librevenge
, libvisio, libcdr, libexif, unzip , libvisio, libcdr, libexif, unzip
, boxMakerPlugin ? false # boxmaker plugin , boxMakerPlugin ? false # boxmaker plugin
}: }:
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
# 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.
python pyxml lxml python pyxml numpy lxml
]; ];
buildInputs = [ buildInputs = [
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
for i in "$out/bin/"* for i in "$out/bin/"*
do do
wrapProgram "$i" --prefix PYTHONPATH : \ wrapProgram "$i" --prefix PYTHONPATH : \
"$(toPythonPath ${pyxml}):$(toPythonPath ${lxml})" \ "$(toPythonPath ${pyxml}):$(toPythonPath ${lxml}):$(toPythonPath ${numpy})" \
--prefix PATH : ${python}/bin || \ --prefix PATH : ${python}/bin || \
exit 2 exit 2
done done
+1 -1
View File
@@ -12420,7 +12420,7 @@ let
inferno = callPackage_i686 ../applications/inferno { }; inferno = callPackage_i686 ../applications/inferno { };
inkscape = callPackage ../applications/graphics/inkscape { inkscape = callPackage ../applications/graphics/inkscape {
inherit (pythonPackages) lxml; inherit (pythonPackages) python pyxml lxml numpy;
lcms = lcms2; lcms = lcms2;
}; };