Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84c26cca45 | ||
|
|
75088e1f15 |
No files matched your search
@@ -422,9 +422,10 @@ in
|
|||||||
home.activation.securityAuditSkill = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
home.activation.securityAuditSkill = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# Activation PATH lacks /opt/homebrew/bin, so npx's `#!/usr/bin/env node`
|
# Activation PATH lacks /opt/homebrew/bin, so npx's `#!/usr/bin/env node`
|
||||||
# shebang fails. Prepend only - replacing PATH breaks the rest of the HM
|
# shebang fails. It also lacks /usr/bin, so the Skills CLI cannot spawn
|
||||||
# activation (nix-env, gettext).
|
# /usr/bin/git and the clone fails with "spawn git ENOENT". Prepend both -
|
||||||
export PATH="/opt/homebrew/bin:$PATH"
|
# replacing PATH breaks the rest of the HM activation (nix-env, gettext).
|
||||||
|
export PATH="/opt/homebrew/bin:/usr/bin:$PATH"
|
||||||
npx=/opt/homebrew/bin/npx
|
npx=/opt/homebrew/bin/npx
|
||||||
# Canonical copy plus the Claude Code link: rerun when either is missing so a
|
# Canonical copy plus the Claude Code link: rerun when either is missing so a
|
||||||
# half-removed install heals, then skip while both exist. No `exit 0` here:
|
# half-removed install heals, then skip while both exist. No `exit 0` here:
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ Verify: `fm` launches OpenCode 2 as the first mate (isolated `~/.config/opencode
|
|||||||
--agent claude-code codex pi opencode --yes
|
--agent claude-code codex pi opencode --yes
|
||||||
```
|
```
|
||||||
|
|
||||||
The install needs Homebrew's `node`, which `configuration.nix` already declares. Renew or update the skill by hand with:
|
The install needs Homebrew's `node`, which `configuration.nix` already declares, plus the system Git at `/usr/bin/git` for the clone. Renew or update the skill by hand with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/opt/homebrew/bin/npx --yes skills update security-audit --global --yes
|
/opt/homebrew/bin/npx --yes skills update security-audit --global --yes
|
||||||
|
|||||||
Reference in new issue
Block a user