Skip to content

fix: add aarch64-linux closure to bento.nix - #97

Open
ridget wants to merge 1 commit into
mainfrom
fix/FEF-3164-bento-arm64
Open

fix: add aarch64-linux closure to bento.nix#97
ridget wants to merge 1 commit into
mainfrom
fix/FEF-3164-bento-arm64

Conversation

@ridget

@ridget ridget commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • bento.nix only handled x86_64-darwin/aarch64-darwin; every Linux system hit abort "unsupported system".
  • CI agents for agent-workflows patch-cves run linux_arm64, so devbox install fails on every run for repos referencing github:cultureamp/devbox-extras#bento (lde-kafka-sink, and soon delivery-eng-experiments/011-2-bento-sink).
  • Adds an aarch64-linux closure using the upstream bento_1.4.0_linux_arm64.tar.gz release asset. Verified with nix-build locally.

Test plan

  • nix-build -E '... import ./packages/bento.nix { system = "aarch64-linux"; ... }' builds successfully with the new hash
  • nix run nixpkgs#nixpkgs-fmt -- packages/bento.nix reports no changes needed

Jira: FEF-3164

CI agents run linux_arm64; bento was darwin-only, so devbox install
failed on every repo that references devbox-extras#bento (lde-kafka-sink,
delivery-eng-experiments/011-2-bento-sink) under patch-cves.

FEF-3164
@pip-the-concierge

pip-the-concierge Bot commented Jul 28, 2026

Copy link
Copy Markdown

🤖 Agent Workflows

  • PR Review — AI-powered code review — ✅ Complete

    Run #7474 — ✅ 3m 40s
    Metric Value
    Duration 3m 40s
    Model Opus
    Turns 16
    Tokens 30,608

@pip-the-concierge-via-chinmina pip-the-concierge-via-chinmina Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

Clean, well-structured PR that adds aarch64-linux platform support to bento.nix, fixing CI failures on ARM64 Linux agents. The new closure follows the identical pattern as the existing Darwin closures (same stdenv.mkDerivation + fetchzip + pinned SRI hash approach), and meta.platforms is correctly extended. No issues found.

For reviewers

Straightforward change — the new aarch64-linux branch at line 44 mirrors the existing Darwin closures exactly. Key things to verify: the SRI hash matches the upstream release asset (author confirmed via local nix-build), and the URL follows the established bento_${version}_linux_arm64.tar.gz naming convention.

1 Low-signal findings hidden

click to expand
  • packages/bento.nix: README not updated for new platform support — rejected because the README has no per-package platform documentation for any existing package, so this would create a new convention rather than follow one.

generated using the pr-review workflow in 16 turns
give feedback with reactions 👍 👎

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