Repository navigation
Nix CI: build MetaRocq main with its dune-based overlay - #750
Merged
Merged
Conversation
MetaRocq main now builds with dune, which the nixpkgs metarocq derivation does not support. Use MetaRocq's own overlay (copied from its main branch), which builds each package with `dune build -p` and folds the plugins into the safechecker and erasure packages. MetaRocq main requires dune 3.22, so drop the dune 3.21.1 pin and use the nixpkgs default (3.23.1), as MetaRocq's CI does. Regenerate the workflow: the metarocq-*-plugin jobs are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
MetaRocq main switched its build system to dune, which breaks the reverse-dependency job: the nixpkgs
metarocqderivation does not support it..nix/coq-overlays/metarocq/default.nix, copied unchanged from MetaRocq main's own overlay. It builds each package withdune build -p rocq-metarocq-<pkg>. The safechecker and erasure plugins are now part of themetarocq-safecheckerandmetarocq-erasurepackages, and*-pluginaliases are kept.dune.override.version = "3.21.1"pin: MetaRocq main declares(lang dune 3.22). CI now uses the nixpkgs default (3.23.1), as MetaRocq's own CI does.nix-action-default.yml: themetarocq-safechecker-pluginandmetarocq-erasure-pluginjobs are removed.Tested locally: the
metarocqjob evaluates, andmetarocq-utils(with Rocq master, stdlib and equations built under dune 3.23.1) builds. The rest of the MetaRocq chain is left to CI.🤖 Generated with Claude Code