Skip to content

fix(pkgs/fleet): OpenSSL inputs for the monolithic buildRustPackage path (#16946) - #16950

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
lane/1322f-16946-fleet-openssl
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
lane/1322f-16946-fleet-openssl

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16946.

Root cause: pkgs/fleet/default.nix builds two ways. The crane path (flake make-fleet, craneLib supplied) carries buildInputs = [ openssl ] + nativeBuildInputs = [ pkgconf ] since #16152. The monolithic buildRustPackage path — taken whenever craneLib == null, which is exactly the laptop's pkgs.callPackage ../../pkgs/fleet { doCheck = false; } call site in nixos/home/laptop-backups.nix — had no OpenSSL inputs at all (only the static variants' explicit OPENSSL_* 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 pkgsStatic OPENSSL_* 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-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0bf6857e-a6dd-4833-9325-d12dd0d8239c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

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

@developing-today-fleet
developing-today-fleet Bot merged commit 09da9b3 into main Nov 29, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the lane/1322f-16946-fleet-openssl branch November 29, 2026 19:42
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Lane 1337-B resolution: MERGED at head 400cdef, merge commit 09da9b3 (2026-11-29T19:42:48Z), verified by second gh read (state=MERGED). Issue #16946 auto-closed by the Closes link. Verification was this lane's full-diff read against the issue's root cause (CI is not a gate). Key: 1337-B

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.

pkgs/fleet nix build fails in laptop toplevel: openssl-sys cannot find pkg-config (blocks system switch)

0 participants