Commit 9f6c58f
committed
fix(nix): anchor result* source filter so result_xdr.py is packaged
The uv2nix workspace source is filtered through
`nix-gitignore.gitignoreSourcePure` to drop the `./result` nix build
symlink. The pattern was written as `result*` with no leading slash, so
by gitignore semantics it matched a path component named `result…` at
ANY depth — including `src/komet_node/result_xdr.py`.
That file was therefore stripped from the packaged source on every build
(cachix included), while `server.py` imports it unconditionally, so the
installed `komet-node` crashed on startup with:
ModuleNotFoundError: No module named 'komet_node.result_xdr'
Anchoring the pattern to the workspace root (`/result*`) still excludes
the top-level build symlinks (`result`, `result-1`, …) without matching
nested source files.1 parent f590a69 commit 9f6c58f
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
0 commit comments