summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@higgsboson.tk>2016-08-29 01:41:17 +0200
committerRobin Gloster <mail@glob.in>2016-08-28 23:41:17 +0000
commita141f15f46327b91292acdf267fb5ec66a3a1d4d (patch)
tree1cc1c21ad7eb0bd93c1bed0e9195685377427456 /pkgs/applications
parent4e13a718953d49d46f8817fb8da7e726e5b4e2d9 (diff)
downloadnixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.tar
nixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.tar.gz
nixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.tar.bz2
nixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.tar.lz
nixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.tar.xz
nixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.tar.zst
nixlib-a141f15f46327b91292acdf267fb5ec66a3a1d4d.zip
gimp: fix python plugins (#18061)
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/gimp/2.8.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gimp/2.8.nix b/pkgs/applications/graphics/gimp/2.8.nix
index 27d7376fe526..bc101e241145 100644
--- a/pkgs/applications/graphics/gimp/2.8.nix
+++ b/pkgs/applications/graphics/gimp/2.8.nix
@@ -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 ?