fix: use homebrew node instead of nix read-only nodejs
- nodejs from nixpkgs is read-only, breaks pi-coding-agent internal npm install - Use homebrew node (writable) for proper npm/pnpm global installs - Remove pi-node hardcoded path hack from PATH
This commit is contained in:
parent
5ac51e1f7f
commit
c21268fb9b
3 changed files with 4 additions and 3 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
micro
|
micro
|
||||||
|
|
||||||
# Node.js ecosystem
|
# Node.js ecosystem
|
||||||
nodejs # runtime for pi-coding-agent and other JS tools
|
# nodejs # read-only в nix store не подходит для pi (npm install ломается)
|
||||||
pnpm # fast node package manager
|
pnpm # fast node package manager
|
||||||
|
|
||||||
# Secrets
|
# Secrets
|
||||||
|
|
|
||||||
|
|
@ -36,9 +36,9 @@
|
||||||
"${config.home.homeDirectory}/bin"
|
"${config.home.homeDirectory}/bin"
|
||||||
"${config.home.homeDirectory}/.local/bin"
|
"${config.home.homeDirectory}/.local/bin"
|
||||||
|
|
||||||
# npm/pnpm global — установи pi через: pnpm i -g @mariozechner/pi-coding-agent
|
# npm/pnpm global
|
||||||
"${config.home.homeDirectory}/.npm-global/bin"
|
"${config.home.homeDirectory}/.npm-global/bin"
|
||||||
"${config.home.homeDirectory}/.local/share/pnpm"
|
"${config.home.homeDirectory}/.local/share/pnpm/bin"
|
||||||
|
|
||||||
# opencode (если установлен)
|
# opencode (если установлен)
|
||||||
"${config.home.homeDirectory}/.opencode/bin"
|
"${config.home.homeDirectory}/.opencode/bin"
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
brews = [
|
brews = [
|
||||||
"kew"
|
"kew"
|
||||||
"tea" # Forgejo/Gitea CLI
|
"tea" # Forgejo/Gitea CLI
|
||||||
|
"node" # Node.js для pi-coding-agent (не из nix — read-only)
|
||||||
];
|
];
|
||||||
|
|
||||||
casks = [
|
casks = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue