summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp/wrapper.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-11-11 14:33:49 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-11-11 14:41:15 +0100
commitaa96bd294b2ce9852a524e1a88dad2bd50852a0f (patch)
tree84fcd2c6a75844cd70b9472e70c9330b1e760154 /pkgs/applications/graphics/gimp/wrapper.nix
parentf4c513125dbd0c235697771621bc560f5e90bb64 (diff)
downloadnixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.tar
nixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.tar.gz
nixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.tar.bz2
nixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.tar.lz
nixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.tar.xz
nixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.tar.zst
nixpkgs-aa96bd294b2ce9852a524e1a88dad2bd50852a0f.zip
gimpPlugins: include GIMP into the scope
So that it can be easily overridden.

Also clean up, update usage comment for this century and remove alias.
Diffstat (limited to 'pkgs/applications/graphics/gimp/wrapper.nix')
-rw-r--r--pkgs/applications/graphics/gimp/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gimp/wrapper.nix b/pkgs/applications/graphics/gimp/wrapper.nix
index 841728d3a29..7e8ce913f02 100644
--- a/pkgs/applications/graphics/gimp/wrapper.nix
+++ b/pkgs/applications/graphics/gimp/wrapper.nix
@@ -2,7 +2,7 @@
 
 let
 allPlugins = lib.filter (pkg: lib.isDerivation pkg && !pkg.meta.broken or false) (lib.attrValues gimpPlugins);
-selectedPlugins = if plugins == null then allPlugins else plugins;
+selectedPlugins = lib.filter (pkg: pkg != gimpPlugins.gimp) (if plugins == null then allPlugins else plugins);
 extraArgs = map (x: x.wrapArgs or "") selectedPlugins;
 versionBranch = stdenv.lib.versions.majorMinor gimp.version;