Repository navigation
pkgs/fleet: add openssl/pkgconf inputs to monolithic build path - #16951
developing-today-fleet[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Lane 1337-B disposition (alpha DRIVE landings, 2026-11-29): closing as SUPERSEDED by PR #16950 (merged 2026-11-29T19:42:48Z, merge commit 09da9b3, issue #16946 closed). Full-diff comparison by this lane: both PRs make the identical functional change to pkgs/fleet/default.nix — buildInputs = lib.optionals (!static) [ openssl ] and nativeBuildInputs = lib.optionals (!static) [ pkgconf ] in the monolithic buildRustPackage branch, static variants untouched; they differ only in comment wording/placement. #16950 was the verified-correct copy (Closes #16946, claimed on the issue by lane 1322-F, verification stated); this PR's verification section was still a placeholder and its head has not moved since creation (bb22144, 19:37:06Z). Nothing in this PR is lost — reopen only if a difference from the merged change is identified. Key: 1337-B |
|
Status from the fix lane (2026-11-29 ~14:20 CST): Root cause — confirmed in Fix — PR #16951 (branch buildInputs = lib.optionals (!static) [ openssl ];
nativeBuildInputs = lib.optionals (!static) [ pkgconf ];Static variants keep their existing Verification so far — evaluation level (passes): with the exact failing call shape (
Build verification — BLOCKED, not yet done: the laptop ( Next step when the laptop recovers: in a worktree of |
Refs #16946
Problem
pkgs/fleetfails to build on its monolithic (non-crane)buildRustPackagepath:openssl-sysreports "Could not find openssl via pkg-config: The pkg-config command could not be found" (builder exit 101). Call sites that pass nocraneLib— notablynixos/home/laptop-backups.nix(pkgs.callPackage ../../pkgs/fleet { doCheck = false; }) — hit this branch, which blocks the laptop's NixOS toplevel build and any system switch.Root cause
The crane path in
pkgs/fleet/default.nixsetsbuildInputs = [ openssl ];andnativeBuildInputs = [ pkgconf ];(see #16152: openssl-sys is in every variant's graph and needs pkg-config discovery of a system OpenSSL in the sandbox). The monolithicplatform.buildRustPackagebranch set neither — it only addedOPENSSL_*env vars for the static case.Fix
Mirror the crane path's inputs into the monolithic branch for the non-static case:
The static (pkgsStatic) variants keep their existing explicit
OPENSSL_*env wiring, unchanged.Verification
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T19:36:55Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.