From 8ec17dab32bb4dc0bd966380f162a4b0a6c0630f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 18 Oct 2016 18:26:54 +0200 Subject: [PATCH] inkscape: use python2 because of syntax error. And don't depend on pyxml because that shouldn't be necessary anymore https://bugs.archlinux.org/task/26774 --- pkgs/applications/graphics/inkscape/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index ce8a22fd90f8..06b2fa63c7fa 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -1,13 +1,13 @@ { stdenv, fetchurl, fetchpatch, pkgconfig, perl, perlXMLParser, libXft , libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2 , glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool -, gsl, python, poppler, imagemagick, libwpg, librevenge +, gsl, python2, poppler, imagemagick, libwpg, librevenge , libvisio, libcdr, libexif, unzip, automake114x, autoconf , boxMakerPlugin ? false # boxmaker plugin }: let - pythonEnv = python.withPackages(ps: with ps; [ pyxml numpy lxml ]); + python2Env = python2.withPackages(ps: with ps; [ numpy lxml ]); boxmaker = fetchurl { # http://www.inkscapeforum.com/viewtopic.php?f=11&t=10403 @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { # Python is used at run-time to execute scripts, e.g., those from # the "Effects" menu. - propagatedBuildInputs = [ pythonEnv ]; + propagatedBuildInputs = [ python2Env ]; buildInputs = [ pkgconfig perl perlXMLParser libXft libpng zlib popt boehmgc