gimp: fix python plugins (#18061)

This commit is contained in:
Jörg Thalheim 2016-08-29 01:41:17 +02:00 committed by Robin Gloster
parent 4e13a71895
commit a141f15f46

View File

@ -28,7 +28,12 @@ stdenv.mkDerivation rec {
pythonPath = [ pygtk ];
postInstall = ''wrapPythonPrograms'';
postFixup = ''
wrapPythonProgramsIn $out/lib/gimp/2.0/plug-ins/
wrapProgram $out/bin/gimp \
--prefix PYTHONPATH : "$PYTHONPATH" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?