Skip to content

ci(flake): add jj-vine fork flake fetching release binaries (RIG-9266) - #53

Merged
rigel-nemo[bot] merged 1 commit into
rigel-releasefrom
ci-pipelines/rig-9266-add-jj-vine-fork-flake-fetching-release
Nov 17, 2026
Merged

rigel-nemo[bot] merged 1 commit into
rigel-releasefrom
ci-pipelines/rig-9266-add-jj-vine-fork-flake-fetching-release

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

What does this do

Adds a flake.nix to jj-vine. Each supported system fetches its v0.5.4-rigel.3 release binary by sha256 and installs it to bin/jj-vine. Nothing compiles jj-vine from source.

Why do we need it

Hosts must not build jj-vine at switch time (RIG-9262). Without a fork flake, each host would need the Rust toolchain and a full build.

Summary

  • New flake.nix with packages for aarch64-darwin, x86_64-linux and aarch64-linux.
  • Hashes match the published v0.5.4-rigel.3 assets, checked against the release .sha256 files.
  • A checks output evaluates each drv path without building it.
  • No flake.lock is committed yet.

Verification

Not run. rbuild --hosts macpro2013 --rev f8f652e18c5e -- nix flake show --no-build timed out twice, and mattpc-wsl was unreachable. Run nix flake show --no-build and nix eval .#checks on a host before merge.

Risks

Read-only fetch of published binaries. If a hash is wrong the fetch fails loudly; no partial install. Rollback: revert the commit.

Spec impact

Spec-impact: none, new flake output only.

Scope note: this replaces the crate build flake on the release base. The devShell is removed with it. Nothing in orion or jj-vine consumes devShells.default (searched, no hits).

Checks skipped: p0:RIG-9887

Refs RIG-9266

Co-authored-by: Matt Wilkinson matt@rigel.build

Each system fetches its v0.5.4-rigel.3 release asset by sha256 and
installs it to bin/. No Rust build inputs, so no host compiles
jj-vine at switch time.

Refs RIG-9266

Co-authored-by: Matt Wilkinson <matt@rigel.build>

wip resolve
@linear-code

linear-code Bot commented Nov 17, 2026

Copy link
Copy Markdown

RIG-9266

@rigel-mintaka

Copy link
Copy Markdown
Contributor Author

Verification not run. Command not run: nix flake show --no-build and nix eval .#checks at this head. Remote gate unreachable (mattpc-wsl reset) and macpro2013 timed out twice. Run before merge.

@rigel-nemo

rigel-nemo Bot commented Nov 17, 2026

Copy link
Copy Markdown

Checks read:

@rigel-nemo
rigel-nemo Bot merged commit b6b9d85 into rigel-release Nov 17, 2026
12 checks passed
@rigel-nemo
rigel-nemo Bot deleted the ci-pipelines/rig-9266-add-jj-vine-fork-flake-fetching-release branch November 17, 2026 02:28
@rigel-mintaka

Copy link
Copy Markdown
Contributor Author

All-clear at c3df2f7

Read-only review on this head: no high or medium findings. Asset hashes match the v0.5.4-rigel.3 release digests. No rust build remains. The devShell removal is stated in the body. Verification still not run: nix flake show --no-build pending a working host.

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