Commit d0c2e69
fix(nix): use a single
`kup publish` (and `kup install`) operate on the derivation output
literally named `out`: it runs `nix build <flake>#pkg --json` and
requires the result to be a single derivation whose `outputs` map
contains an `out` key, then pushes/pins that store path. The previous
commit used upstream komet's `bin`/`out`/`dev` split, which makes `bin`
the default output — so `nix build --json` reported only `bin` and the
release job failed with "Could not find out path for package!".
Collapse to a single `out` output holding both the wrapper
(`$out/bin/komet-node`) and the compiled semantics (`$out/kdist`). The
multi-output split only existed upstream to avoid a cross-output
reference cycle; with everything in one output there are no cross-output
references, so the cycle (and the empty `dev` output) is unnecessary.
Verified: `nix build .#komet-node --json` reports `{"out": ...}` and the
wrapped `komet-node --help` runs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>out output so kup publish works1 parent e1e0b0b commit d0c2e69
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
78 | | - | |
| 75 | + | |
79 | 76 | | |
80 | 77 | | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
84 | 81 | | |
85 | | - | |
| 82 | + | |
86 | 83 | | |
87 | 84 | | |
88 | 85 | | |
| |||
0 commit comments