Skip to content

buzz-cli: use system aws-lc - #585760

Merged
pbsds merged 1 commit into
NixOS:masterfrom
kleinbem:buzz-cli-system-libs
Nov 10, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
kleinbem:buzz-cli-system-libs

Conversation

@kleinbem

@kleinbem kleinbem commented Nov 9, 2026

Copy link
Copy Markdown
Member

Part of #570938.

Since #537108 the cargo setup hook makes aws-lc-sys use the system AWS-LC, and buzz-cli 0.5.28 fails on master ("requires a system-installed AWS-LC, but none was found"). This adds aws-lc, and pkg-config so aws-lc-sys finds it.

It builds with its tests on x86_64-linux, aarch64-linux and aarch64-darwin, and passthru.tests passes; on x86_64-linux buzz links libcrypto-awslc.

Things done

Prepared with Claude Code (claude-opus-5-5); the commit carries an Assisted-by: trailer.

Assisted-by: Claude Code (claude-opus-5-5)
@nixpkgs-ci
nixpkgs-ci Bot requested a review from sebfried November 9, 2026 23:03
@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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. llm-assisted Contributions that include code generation with LLMs labels Nov 9, 2026
@pbsds

pbsds commented Nov 10, 2026

Copy link
Copy Markdown
Member

@pbsbot

pbsbot commented Nov 10, 2026

Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 585760
Commit: 8c3522317dc36103aaf27c68c89f996e167f9752


x86_64-linux

✅ 1 package built:
  • buzz-cli

@pbsds
pbsds added this pull request to the merge queue Nov 10, 2026
Merged via the queue into NixOS:master with commit 104af68 Nov 10, 2026
33 checks passed
kleinbem added a commit to kleinbem/nix-detour-fleet that referenced this pull request Nov 11, 2026
…le (#20)

nixpkgs' cargo setup hook now sets `AWS_LC_SYS_USE_SYSTEM=1`, and
buzz-cli 0.5.28 on nixos-unstable has no aws-lc input, so its build
panics in aws-lc-sys. That takes buzz-app and the whole nixos-nvme
system with it: `just dev::apply` fails.

The fix (NixOS/nixpkgs#585760) is merged and in nixos-unstable-small,
not yet in nixos-unstable. This adds the same override as the
stalwart-cli hold; the weekly release workflow drops it once unstable
builds again.

Tested: buzz-cli 0.5.28 builds (with its tests) through this overlay on
x86_64-linux; `checks.held-packages` passes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Updated the build configuration for `buzz-cli` to include the required
build tools and AWS-LC library, helping it build successfully in
affected configurations.
* **Chores**
* Recorded the current package hold and its compatibility details,
including the related build issue and nixpkgs change.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude Opus 5.5 <[email protected]>
@mdaniels5757 mdaniels5757 added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 12, 2026
@kleinbem
kleinbem deleted the buzz-cli-system-libs branch November 15, 2026 23:18
lemonilemon added a commit to lemonilemon/Nix-Config that referenced this pull request Nov 16, 2026
nixpkgs' cargo setup hook now points the common -sys crates at system
libraries (cargoUseSystemLibs, from NixOS/nixpkgs#537108). Two of them
are in openusage-cli's tree: aws-lc-sys 0.42.0, through reqwest's
rustls-platform-verifier, now panics without an AWS-LC install, and
libsqlite3-sys, through rusqlite, links against -lsqlite3. Against the
nixpkgs in the weekly update PR #32 the build fails on the first and,
once that is supplied, on the second.

aws-lc and sqlite in buildInputs is what nixpkgs does for its own
packages, e.g. buzz-cli in NixOS/nixpkgs#585760; pkg-config is already
there. dontCargoUseSystemLibs would bring the vendored copies back
instead.

Verified by building openusage-cli against both the current lock and
PR #32's: --help runs, and the binary resolves libcrypto-awslc from
aws-lc 5.12.0, libsqlite3 from sqlite 3.54.0, and libdbus. Under the
current lock the hook does not exist yet and the extra inputs are
unused.
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-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants