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
withPlugins = plugins: runCommand "wrapped-${package.name}" {
buildInputs = [ makeWrapper ];
buildInputs = [ makeWrapper ] ++ plugins;
passthru.withPlugins = moarPlugins: withPlugins (moarPlugins ++ plugins);
} ''
makeWrapper ${package}/bin/buildbot $out/bin/buildbot \
--prefix PYTHONPATH : ${lib.makeSearchPathOutput "lib" pythonPackages.python.sitePackages plugins}
makeWrapper ${package}/bin/buildbot $out/bin/buildbot --prefix PYTHONPATH : $PYTHONPATH
'';
package = pythonPackages.buildPythonApplication (rec {