@@ -3,7 +3,7 @@
33# preferences -> Folders -> Plug-ins
44# same applies for the scripts
55
6−{ pkgs, gimp }:
6+{ config, pkgs, gimp }:
77let
88 inherit (pkgs) stdenv fetchurl pkgconfig intltool glib fetchFromGitHub;
99 inherit (gimp) targetPluginDir targetScriptDir;
@@ -91,7 +91,7 @@ stdenv.lib.makeScope pkgs.newScope (self: with self; {
9191 meta.broken = true;
9292 };
9393
94− resynthesizer2 = pluginDerivation rec {
94+ resynthesizer = pluginDerivation rec {
9595 /* menu:
9696 Filters/Map/Resynthesize
9797 Filters/Enhance/Smart enlarge
@@ -224,4 +224,8 @@ stdenv.lib.makeScope pkgs.newScope (self: with self; {
224224 };
225225 */
226226
227+} // stdenv.lib.optionalAttrs (config.allowAliases or true) {
228+
229+ resynthesizer2 = resynthesizer;
230+
227231})