summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-05-12 14:41:35 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-05-12 14:41:35 +0200
commit2d68295beac21fd974948a7ce1c1f6bd20f39ff7 (patch)
tree5e503a0d74b4ead74e38636f976b6cf92d1b2809 /pkgs/applications/graphics/gimp
parentd5dfc1cd8b3158548f8ffcc050d37f22d85fe39d (diff)
gimpPlugins.resynthesizer: rename from resynthesizer2
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index ac68e3776961..f090ad30ae4f 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -3,7 +3,7 @@
# preferences -> Folders -> Plug-ins
# same applies for the scripts
-{ pkgs, gimp }:
+{ config, pkgs, gimp }:
let
inherit (pkgs) stdenv fetchurl pkgconfig intltool glib fetchFromGitHub;
inherit (gimp) targetPluginDir targetScriptDir;
@@ -91,7 +91,7 @@ stdenv.lib.makeScope pkgs.newScope (self: with self; {
meta.broken = true;
};
- resynthesizer2 = pluginDerivation rec {
+ resynthesizer = pluginDerivation rec {
/* menu:
Filters/Map/Resynthesize
Filters/Enhance/Smart enlarge
@@ -224,4 +224,8 @@ stdenv.lib.makeScope pkgs.newScope (self: with self; {
};
*/
+} // stdenv.lib.optionalAttrs (config.allowAliases or true) {
+
+ resynthesizer2 = resynthesizer;
+
})