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
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue