Commit Graph

10 Commits

Author SHA1 Message Date
Théo Zimmermann
3bc15ebf22 rocqPackages.mkRocqDerivation: fix the build of equation by re-introducing COQPATH
Dune (in Coq lang mode) requires COQPATH, contrary to other tools such
as coq_makefile.

I used an AI for the last step: getting the suggestion of using
`preBuild` instead of `env`.

Assisted-by: Copilot:Claude Haiku 4.5
2026-08-18 15:39:38 +02:00
Théo Zimmermann
1b950b50bd rocqPackages.mkRocqDerivation: change prefix for rocq
Make the defauult prefix be set to `[ "rocq" ]` (instead of
`[ "rocq-core" ]`) if `useCoq` is `false`.

This matches the opam convention and ensures that the default
`opam-name` will be correct.
2026-07-15 21:43:39 +02:00
Théo Zimmermann
c57f76fad5 rocqPackages.mkRocqDerivation: change prefix for coq
Make the default prefix be set to `[ "coq" ]` if `useCoq` is `true`.

This ensures that `mkRocqDerivation` can be called directly to build
Coq derivations without changing the derivation name / `opam-name`.
2026-07-14 15:16:40 +02:00
Théo Zimmermann
0235b9517e mkCoqDerivation: make a wrapper on top of mkRocqDerivation 2026-07-10 17:56:53 +02:00
Stefan Frijters
0f8356544c rocqPackages.mkRocqDerivation: move env variables into env 2026-07-06 14:56:07 +02:00
Théo Zimmermann
7e160edd5d mkCoqDerivation/mkRocqDerivation: update ref to Rocq-community 2026-07-02 15:53:02 +02:00
Vincent Laporte
72b918494c dune_3: move out of ocamlPackages 2025-12-10 21:51:39 +01:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Pierre Roux
b6d12f5938 add overrideRocqDerivation 2025-03-27 08:27:43 +01:00
Pierre Roux
064a30473b rocq: init at 9.0+rc1 2025-02-07 21:06:47 +01:00