diff options
author | Silvan Mosberger <contact@infinisil.com> | 2019-10-22 14:37:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 14:37:40 +0200 |
commit | 1230fc8674439df5a90fe4c1ea740256ef9906e4 (patch) | |
tree | 52879d914eff4e4bb314046ba1b6b9b2b6b5c6e8 /pkgs | |
parent | 872166e13650ffb39012c13d6841b56564b8fe58 (diff) | |
parent | a4896cb4aab132c0bcc32c5df4440f6d3b7ec5de (diff) | |
download | nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.tar nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.tar.gz nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.tar.bz2 nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.tar.lz nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.tar.xz nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.tar.zst nixpkgs-1230fc8674439df5a90fe4c1ea740256ef9906e4.zip |
Merge pull request #67809 from Infinisil/propagate-override-args
lib.makeOverridable: Propagate function arguments
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/gimp/wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gimp/wrapper.nix b/pkgs/applications/graphics/gimp/wrapper.nix index 11c1e9ada93..d58dc375cb9 100644 --- a/pkgs/applications/graphics/gimp/wrapper.nix +++ b/pkgs/applications/graphics/gimp/wrapper.nix @@ -1,7 +1,7 @@ { stdenv, lib, symlinkJoin, gimp, makeWrapper, gimpPlugins, gnome3, plugins ? null}: let -allPlugins = lib.filter (pkg: builtins.isAttrs pkg && pkg.type == "derivation" && !pkg.meta.broken or false) (lib.attrValues gimpPlugins); +allPlugins = lib.filter (pkg: lib.isDerivation pkg && !pkg.meta.broken or false) (lib.attrValues gimpPlugins); selectedPlugins = if plugins == null then allPlugins else plugins; extraArgs = map (x: x.wrapArgs or "") selectedPlugins; versionBranch = stdenv.lib.versions.majorMinor gimp.version; |