Repository navigation
chore: replace revdeps-dev-build workflow with a full nix derivation - #14228
Merged
Merged
Conversation
shonfeder
force-pushed
the
push-vkvnttnwlkrv
branch
from
April 18, 2026 00:29
824642d to
7b81a7c
Compare
Sudha247
approved these changes
Apr 20, 2026
Alizter
force-pushed
the
push-vkvnttnwlkrv
branch
2 times, most recently
from
April 20, 2026 09:43
ca1b683 to
009fa2f
Compare
Add an oxcaml-trunk-build package that builds OxCaml trunk using the development version of Dune. This replaces the multi-step GitHub Actions workflow with a single `nix build .#oxcaml-trunk-build` invocation. The derivation overrides the default Dune package to inject a version (extracted from otherlibs/dune-rpc/types.ml) into dune-project and the opam file, so that OxCaml's configure version check passes. The menhir 20231231 override is extracted into nix/menhir.nix to be shared between the oxcaml-trunk-build package and the ox-trunk devShell. Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
push-vkvnttnwlkrv
branch
from
April 20, 2026 09:54
009fa2f to
87c438d
Compare
19 tasks done
Alizter
pushed a commit
that referenced
this pull request
Apr 20, 2026
The nightly builds have stopped working because the way they work is that they add the `version` info to the `dune-project` and then run `make release`. Since #14108 was merged, this would, instead of promoting the change automatically create a diff and as part of it make `make release` fail. This PR updates the `make release` invocation to avoid `@install` and use `dune.install` as target (which is the same thing that we do in the OPAM file of Dune), which does not trigger the diff action and does not trigger the diff failure. Also updates #14228 as this should avoid the need to patch the OPAM file to avoid the diff failure. Thanks for @Alizter helping with the debugging and clearing up the confusion around all of this. Signed-off-by: Marek Kubica <[email protected]>
Alizter
added a commit
that referenced
this pull request
Apr 20, 2026
The nightly builds have stopped working because the way they work is that they add the `version` info to the `dune-project` and then run `make release`. Since #14108 was merged, this would, instead of promoting the change automatically, create a diff and as part of it make `make release` fail. This PR updates the `make release` invocation to avoid `@install` and use `dune.install` as target (which is the same thing that we do in the OPAM file of Dune), which does not trigger the diff action and does not trigger the diff failure. Also updates the code introduced as a hack in #14228 as this should avoid the need to patch the OPAM file to avoid the diff failure. Thanks for @Alizter helping with the debugging and clearing up the confusion around all of this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #14214
Add an oxcaml-trunk-build package that builds OxCaml trunk using the development version of Dune. This replaces the multi-step GitHub Actions workflow with a single
nix build .#oxcaml-trunk-buildinvocation.The derivation overrides the default Dune package to inject a version (extracted from otherlibs/dune-rpc/types.ml) into dune-project and the opam file, so that OxCaml's configure version check passes.
The menhir 20231231 override is extracted into nix/menhir.nix to be shared between the oxcaml-trunk-build package and the ox-trunk devShell.