fix(pi-coding-agent): include browser tools in wrapper
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nodejs
|
, nodejs
|
||||||
, nodejs_22
|
, nodejs_22
|
||||||
|
, firefox
|
||||||
|
, geckodriver
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pixman
|
, pixman
|
||||||
@@ -78,7 +80,12 @@ buildNpmPackage rec {
|
|||||||
chmod +x $out/bin/pi
|
chmod +x $out/bin/pi
|
||||||
|
|
||||||
wrapProgram $out/bin/pi \
|
wrapProgram $out/bin/pi \
|
||||||
--prefix PATH : ${lib.makeBinPath [ nodejs_22 ]}
|
--prefix PATH : ${lib.makeBinPath [
|
||||||
|
nodejs_22
|
||||||
|
# evan/pi-web - Browser automation tools are needed for web-fetch support.
|
||||||
|
firefox
|
||||||
|
geckodriver
|
||||||
|
]}
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user