Repository navigation
buzz-cli: use system aws-lc - #585760
Merged
Merged
buzz-cli: use system aws-lc#585760
Conversation
Assisted-by: Claude Code (claude-opus-5-5)
|
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]>
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #570938.
Since #537108 the cargo setup hook makes
aws-lc-sysuse the system AWS-LC, and buzz-cli 0.5.28 fails on master ("requires a system-installed AWS-LC, but none was found"). This addsaws-lc, andpkg-configsoaws-lc-sysfinds it.It builds with its tests on x86_64-linux, aarch64-linux and aarch64-darwin, and
passthru.testspasses; on x86_64-linuxbuzzlinkslibcrypto-awslc.Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.Prepared with Claude Code (claude-opus-5-5); the commit carries an
Assisted-by:trailer.