Repository navigation
Commit 75f9c57
committed
fix(nix): include CLI command help spec
The extracted ccusage-cli build script now reads src/cli-commands.json in addition to src/cli-help.json. Crane source filtering already kept cli-help.json but did not include the new command spec, so Nix package builds failed before the build script could generate help data.
Include cli-commands.json in the filtered Rust source. Validation: env NIX_CONFIG="access-tokens = github.com=$(gh auth token)" nix build .#ccusage --no-link; direnv exec . pnpm run format; direnv exec . env -u CFLAGS cargo check --manifest-path rust/Cargo.toml -p ccusage-cli -p ccusage.1 parent 7e21dca commit 75f9c57
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments