diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2016-08-29 01:41:17 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-08-28 23:41:17 +0000 |
commit | a141f15f46327b91292acdf267fb5ec66a3a1d4d (patch) | |
tree | 1cc1c21ad7eb0bd93c1bed0e9195685377427456 /pkgs/applications | |
parent | 4e13a718953d49d46f8817fb8da7e726e5b4e2d9 (diff) | |
download | nixlib-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.nix | 7 |
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 ? |