Skip to content

fix(release): query default store in enterprise-prebuilt - #117

Merged
rtacconi merged 4 commits into
mainfrom
fix/enterprise-prebuilt-store-path
Nov 17, 2026
Merged

rtacconi merged 4 commits into
mainfrom
fix/enterprise-prebuilt-store-path

Conversation

@rtacconi

Copy link
Copy Markdown
Contributor

Summary

  • nix path-info with a bare --store /nix/store path is treated as a chroot store root and tries /nix/store/nix/store
  • Query the default daemon store instead so make release can finish the enterprise prebuilt step

Test plan

  • Continue make release-prebuilt locally after this lands
  • Confirm no /nix/store/nix/store error

A bare --store /nix/store is treated as a chroot root, so path-info
tried to create /nix/store/nix/store and aborted the prebuilt step.
Fixture nixosConfigurations use hello placeholders, so their closures
never contained kctl or the agents. Build and cache the packages a host
update substitutes, and rehearse against those.
Exclude dist/ from the pre-commit nixfmt walk and put the chroot store
under TMPDIR so a failed rehearsal cannot block the next commit.
@rtacconi

Copy link
Copy Markdown
Contributor Author

Also exports real flake packages (fixtures used hello) and keeps the rehearsal store out of the tree so nixfmt does not scan it.

Local dirty trees change crane source hashes; building from
github:kcorehypervisor/kcore/<rev> keeps cache paths aligned with
customer installs and rehearsal.
@rtacconi
rtacconi merged commit 088169a into main Nov 17, 2026
6 checks passed
@rtacconi
rtacconi deleted the fix/enterprise-prebuilt-store-path branch November 17, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant