Skip to content

Commit aa38a6f

Browse files
committed
AGENTS.md: fix nix develop syntax to --command
1 parent ee74cbe commit aa38a6f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

AGENTS.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@ This file provides guidance to Coding agents like Claude Code when working with
44

55
## Commands
66

7-
All commands must be run inside the Nix dev shell via `nix develop -- <cmd>`,
7+
All commands must be run inside the Nix dev shell via `nix develop --command <cmd>`,
88
which provides `eask`, `just`, and `emacs` on PATH. This is also required for
99
`git commit` since the pre-commit hooks invoke `eask`.
1010

1111
```sh
1212
# Byte-compile the package
13-
nix develop -- just compile
13+
nix develop --command just compile
1414

1515
# Run the full ERT test suite
16-
nix develop -- just test
16+
nix develop --command just test
1717

1818
# Run both (default)
19-
nix develop -- just
19+
nix develop --command just
2020

2121
# Run a subset of tests by name prefix
22-
nix develop -- emacs -batch -Q -L . \
22+
nix develop --command emacs -batch -Q -L . \
2323
-l orgzly-formatter.el \
2424
-l orgzly-formatter-test.el \
2525
--eval '(ert-run-tests-batch "ozfmt/regression")'
2626

2727
# Lint with package-lint
28-
nix develop -- just lint
28+
nix develop --command just lint
2929

3030
# Clean byte-compiled output
31-
nix develop -- just clean
31+
nix develop --command just clean
3232

3333
# Commit (pre-commit hooks require eask)
34-
nix develop -- git commit
34+
nix develop --command git commit
3535
```
3636

3737
## Architecture

0 commit comments

Comments
 (0)