Skip to content

fix(nix): restrict the Windows cross binary to one output - #16984

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-yxsrorkornms
Nov 10, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-yxsrorkornms

Conversation

@Alizter

@Alizter Alizter commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

The updated buildDunePackage declares out, dev, man, and doc outputs. Our custom cross installer only installs bin/dune.exe and skips fixup, so Nix rejects the otherwise successful build for missing outputs. Declare only out for this binary-only derivation.

cc @anmonteiro this seems to have broken in the recent flake update.

The updated buildDunePackage declares out, dev, man, and doc outputs. Our custom cross installer only installs bin/dune.exe and skips fixup, so Nix rejects the otherwise successful build for missing outputs. Declare only out for this binary-only derivation.

Signed-off-by: Ali Caglayan <[email protected]>
@anmonteiro

Copy link
Copy Markdown
Collaborator

Thanks! there was a big staging branch update we pulled that refactored this upstream

@Alizter
Alizter merged commit 81922b0 into ocaml:main Nov 10, 2026
37 of 39 checks passed
@Alizter
Alizter deleted the push-yxsrorkornms branch November 10, 2026 16:02
@Alizter Alizter added this to the 3.26.0 milestone Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants