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:
commit
9dc3c904de
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue