Repository navigation
Commit 3d39fc8
refactor: generalize nix-eval-flake into nix-flake wrapper (#336)
Replace the nix-eval-flake wrapper (which only supported `nix eval`)
with a generalized nix-flake wrapper that accepts any nix subcommand.
This avoids the `#` character in flake refs causing permission prompts
in Claude Code for commands like `nix build .#...`.
Usage: nix-flake <subcommand> <flake-output> [extra-args...]
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 15e602d commit 3d39fc8
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments