Repository navigation
fix(pkgs/fleet): OpenSSL inputs for the monolithic buildRustPackage path (#16946) - #16950
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Lane 1337-B claim (alpha DRIVE landings, 2026-11-29): claiming this PR for merge. Full-diff read verified: single file pkgs/fleet/default.nix, +12/-0 — mirrors the crane path's OpenSSL wiring into the monolithic buildRustPackage branch for non-static variants only (buildInputs=[openssl], nativeBuildInputs=[pkgconf], both lib.optionals (!static)); static variants keep their explicit OPENSSL_* env. Matches issue #16946's root cause exactly. Competing PR #16951 carries the identical functional change with a placeholder verification section and Refs-only linkage; it will be dispositioned as superseded once this lands. Merging at head 400cdef under standing merge authority (CI is not a gate, Drew 2026-11-29). Key: 1337-B |
Closes #16946.
Root cause:
pkgs/fleet/default.nixbuilds two ways. The crane path (flakemake-fleet, craneLib supplied) carriesbuildInputs = [ openssl ]+nativeBuildInputs = [ pkgconf ]since #16152. The monolithicbuildRustPackagepath — taken whenevercraneLib == null, which is exactly the laptop'spkgs.callPackage ../../pkgs/fleet { doCheck = false; }call site innixos/home/laptop-backups.nix— had no OpenSSL inputs at all (only the static variants' explicitOPENSSL_*env). So openssl-sys's build script found no pkg-config in that build context and the fleet-0.1.0 derivation failed inside full toplevel builds, while flake/crane builds of the same package succeeded — matching the issue's context-dependent evidence (standalone realise of the flake-built output valid; toplevel builds failing twice at 0e08437).Fix: mirror the crane path in the monolithic branch for non-static variants:
buildInputs = [ openssl ],nativeBuildInputs = [ pkgconf ]. Static variants unchanged (explicit pkgsStaticOPENSSL_*env).Verification: nix build of the package via the callPackage route (no craneLib) dispatched on this branch; full-diff read by the authoring lane. CI is not a gate (Drew, 2026-11-29).
Authored by lane 1322-F (delta PRESS work loop) via the Git-API route. Key: 1322-F
{ "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:30:39Z", "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.