mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 05:02:10 +00:00
add npm to path for pi telegram to run
This commit is contained in:
parent
65eb2fed1a
commit
e2a7d85ac2
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ let
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# RPC subprocesses spawned by pi-channels do spawn("pi", ...) and
|
||||
# need the npm bin directory on PATH.
|
||||
export PATH="/home/${username}/.local/share/npm/bin:$PATH"
|
||||
|
||||
exec ${pkgs.dtach}/bin/dtach -N /run/pi-agent/pi-agent.sock \
|
||||
${piBin} --chat-bridge
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue