summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-11-10 23:57:44 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-11-10 23:57:44 +0100
commit3000a0f87e5574fdaed7e3209f6815bac08d8cd4 (patch)
treebaf20b8841f725553e7cdfb0349033293a76b58a /pkgs/applications/graphics/gimp
parent0e9cccac8183b052f7be8c0c8950beb11b6df420 (diff)
gimp: expose gimpdatadir & gimplibdir
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix
index 025f97b54e69..4ba7cb8eb036 100644
--- a/pkgs/applications/graphics/gimp/default.nix
+++ b/pkgs/applications/graphics/gimp/default.nix
@@ -163,8 +163,10 @@ in stdenv.mkDerivation rec {
# The declarations for `gimp-with-plugins` wrapper,
# used for determining plug-in installation paths
majorVersion = "${lib.versions.major version}.0";
- targetPluginDir = "lib/gimp/${majorVersion}/plug-ins";
- targetScriptDir = "share/gimp/${majorVersion}/scripts";
+ targetLibDir = "lib/gimp/${majorVersion}";
+ targetDataDir = "share/gimp/${majorVersion}";
+ targetPluginDir = "${targetLibDir}/plug-ins";
+ targetScriptDir = "${targetDataDir}/scripts";
# probably its a good idea to use the same gtk in plugins ?
gtk = gtk2;