git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #123253 from sbruder/vapoursynth-improve-dependency-resolution

vapoursynth: improve plugin dependency resolution

commitbfdf04bd21bb99b05bb10f0de8876ad4baca48e4 authorMichele Guerini Rocco <rnhmjoj@users.noreply.github.com> dateSun 30 May 2021, 10:22 (5 years ago) parente8805259b3a2e6
1 file changed+3−2
pkgs/development/libraries/vapoursynth/plugin-interface.nix+3−2
pkgs/development/libraries/vapoursynth/plugin-interface.nix+3−2
@@ -8,10 +8,11 @@ plugins: let
88
99 getRecursivePropagatedBuildInputs = pkgs: lib.flatten
1010 (map
11− (pkg: pkg.propagatedBuildInputs ++ (getRecursivePropagatedBuildInputs pkg.propagatedBuildInputs))
11+ (pkg: let cleanPropagatedBuildInputs = lib.filter lib.isDerivation pkg.propagatedBuildInputs;
12+ in cleanPropagatedBuildInputs ++ (getRecursivePropagatedBuildInputs cleanPropagatedBuildInputs))
1213 pkgs);
1314
14− deepPlugins = plugins ++ (getRecursivePropagatedBuildInputs plugins);
15+ deepPlugins = lib.unique (plugins ++ (getRecursivePropagatedBuildInputs plugins));
1516
1617 pluginsEnv = buildEnv {
1718 name = "vapoursynth-plugins-env";