From 2d68295beac21fd974948a7ce1c1f6bd20f39ff7 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 12 May 2019 14:41:35 +0200 Subject: [PATCH] gimpPlugins.resynthesizer: rename from resynthesizer2 --- pkgs/applications/graphics/gimp/plugins/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index ac68e377696..f090ad30ae4 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; + })