3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #23646 from copumpkin/buildbot-cleanup-take-2

buildbot: fix .withPlugins to propagate inputs
This commit is contained in:
Daniel Peebles 2017-03-08 13:19:45 -05:00 committed by GitHub
commit 9dc3c904de

View file

@ -2,11 +2,10 @@
let let
withPlugins = plugins: runCommand "wrapped-${package.name}" { withPlugins = plugins: runCommand "wrapped-${package.name}" {
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ] ++ plugins;
passthru.withPlugins = moarPlugins: withPlugins (moarPlugins ++ plugins); passthru.withPlugins = moarPlugins: withPlugins (moarPlugins ++ plugins);
} '' } ''
makeWrapper ${package}/bin/buildbot $out/bin/buildbot \ makeWrapper ${package}/bin/buildbot $out/bin/buildbot --prefix PYTHONPATH : $PYTHONPATH
--prefix PYTHONPATH : ${lib.makeSearchPathOutput "lib" pythonPackages.python.sitePackages plugins}
''; '';
package = pythonPackages.buildPythonApplication (rec { package = pythonPackages.buildPythonApplication (rec {