summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorHerwig Hochleitner <herwig@bendlas.net>2016-01-28 19:57:39 +0100
committerHerwig Hochleitner <herwig@bendlas.net>2016-02-17 01:19:17 +0100
commitfbc147494c7575cd1bcfb17d604adc7b61615bfd (patch)
treedfb0eba9ab130a3025bbcc7948f8008d1a6fd5de /pkgs/applications/graphics
parentfc85f1beedffe55925484747944873fab59f9a06 (diff)
downloadnixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.tar
nixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.tar.gz
nixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.tar.bz2
nixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.tar.lz
nixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.tar.xz
nixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.tar.zst
nixlib-fbc147494c7575cd1bcfb17d604adc7b61615bfd.zip
inkscape: add numpy to runtime path
This is nessecary for some plugins
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 409fd0a767ce..3704ea2f9c41 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
 , libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
 , 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
 , boxMakerPlugin ? false # boxmaker plugin
 }:
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
   propagatedBuildInputs = [
     # Python is used at run-time to execute scripts, e.g., those from
     # the "Effects" menu.
-    python pyxml lxml
+    python pyxml numpy lxml
   ];
 
   buildInputs = [
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
     for i in "$out/bin/"*
     do
       wrapProgram "$i" --prefix PYTHONPATH :      \
-       "$(toPythonPath ${pyxml}):$(toPythonPath ${lxml})"  \
+       "$(toPythonPath ${pyxml}):$(toPythonPath ${lxml}):$(toPythonPath ${numpy})"  \
        --prefix PATH : ${python}/bin ||  \
         exit 2
     done