Commit 22be98a
fix: Use self.outPath to include submodules in Nix build
When Nix builds with .?submodules=1, using self.outPath ensures
that git submodules (like tree-sitter-nim) are included in the
source copied to the build sandbox.
Previously, src = ../../. only included files from the main repo,
causing 'tree-sitter-nim' dependency errors during cargo build.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 1cb77cd commit 22be98a
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments