Skip to content

git-workspace: fix build with system libgit2 and aws-lc - #585807

Merged
pbsds merged 1 commit into
NixOS:masterfrom
haylinmoore:git-workspace-fix
Nov 10, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
haylinmoore:git-workspace-fix

Conversation

@haylinmoore

Copy link
Copy Markdown
Contributor

Fix the build by adding libgit2, which libgit2-sys now needs to link against the system libgit2, and aws-lc to checkInputs for the test-only aws-lc-sys.

Hydra: https://hydra.nixos.org/build/352583493
ZHF: #584347

Things done

Add libgit2 to buildInputs and aws-lc to checkInputs, now that
cargoSetupHook forces libgit2-sys and aws-lc-sys to use system libraries.
aws-lc-sys is only pulled in by dev-dependencies.
@haylinmoore

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 585807
Commit: cd820a45fbf8f059db08201a4e31e2679172a3ee


x86_64-linux

✅ 1 package built:
  • git-workspace

@nixpkgs-ci
nixpkgs-ci Bot requested a review from misuzu November 10, 2026 00:40
@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. 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. labels Nov 10, 2026
@pbsds
pbsds added this pull request to the merge queue Nov 10, 2026
Merged via the queue into NixOS:master with commit 8649ed5 Nov 10, 2026
31 checks passed
@haylinmoore haylinmoore added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 10, 2026
@haylinmoore
haylinmoore deleted the git-workspace-fix branch November 10, 2026 14:58
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants