Skip to content

solana-agave, solana-cli, surfpool: fix build with system zstd and jemalloc - #586704

Merged
uninsane merged 3 commits into
NixOS:masterfrom
thesn10:zhf/solana-agave
Nov 11, 2026
Merged

uninsane merged 3 commits into
NixOS:masterfrom
thesn10:zhf/solana-agave

Conversation

@thesn10

@thesn10 thesn10 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

ZHF: #584347

Part of #570944 (zstd) and #570940 (sqlite).

Hydra builds:

Cause: The Rust build scripts of zstd-sys and tikv-jemalloc-sys (and libsqlite3-sys for surfpool) now only use system libraries since #537108 (cargoSetupHook), but the libraries were not provided. Linking against the system jemalloc additionally needs the unprefixed symbols.

Fix: Add zstd and rust-jemalloc-sys-unprefixed (solana-agave, solana-cli) or zstd and sqlite (surfpool) to buildInputs. One commit per package.

Tested: nix-build -A solana-agave, -A solana-cli and -A surfpool on x86_64-linux (all successful).

AI disclosure: the fix and this description were drafted with Claude Code (claude-sonnet-5-5). I reviewed the diff and the test results myself.

Things done

Assisted-by: Claude Code (claude-sonnet-5-5)
Assisted-by: Claude Code (claude-sonnet-5-5)
Assisted-by: Claude Code (claude-sonnet-5-5)
@thesn10 thesn10 added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 11, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. llm-assisted Contributions that include code generation with LLMs labels Nov 11, 2026
@uninsane
uninsane added this pull request to the merge queue Nov 11, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 11, 2026
Merged via the queue into NixOS:master with commit 1df5b0a Nov 11, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants