Commit Graph

17 Commits

Author SHA1 Message Date
Vincent Laporte
ddcb088c04 ocamlformat: 0.28.1 → 0.29.0 2026-03-20 09:59:28 +01:00
K900
fd2316c5f9 Merge remote-tracking branch 'origin/master' into staging-next 2025-11-03 15:23:08 +03:00
Vincent Laporte
89fd9025cf ocamlPackages.ocamlformat: 0.27.0 → 0.28.1 2025-11-03 07:02:55 +01:00
jopejoe1
1e1cef625b ocamlPackages: swap throws to meta.broken
throws no longer work with the current ci we have in nixpkgs
2025-10-18 22:23:06 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Vincent Laporte
77215bbae4 ocamlformat: do not depend on janeStreet_0_15 2025-06-11 20:20:47 +02:00
Vincent Laporte
ef7d361ee0 ocamlPackages.ocamlformat_0_26_2: disable for OCaml ≥ 5.3 2025-04-18 13:30:00 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Vincent Laporte
ff926785c5 ocamlPackages.ocamlformat: 0.26.1 → 0.26.2 2024-05-15 06:49:14 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Jules Aguillon
32a2a0852c Link version for ocamlformat{,-lib,-rpc-lib}
The default (latest) version is now defined in 'generic.nix' and is the
same for the three packages.

'ocamlformat-rpc-lib' is no longer defined separately and also use the
latest version as a default.
2023-09-26 16:28:44 +02:00
Jules Aguillon
e0c25ec2bd ocamlPackages.ocamlformat: 0.26.0 → 0.26.1 2023-09-26 16:07:27 +02:00
Vincent Laporte
778e5e8802 ocamlPackages.ocamlformat: disable old versions for OCaml ≥ 5.0 2023-08-17 21:06:19 +02:00
r-vdp
6b3a4030de Treewide: add meta.mainProgram 2023-08-07 18:12:29 +02:00
Jules Aguillon
984a19f393 ocamlformat: 0.25.1 -> 0.26.0
As always, the previous version is retained. The "preferred" version is
bumped.
2023-07-19 16:57:37 +02:00
Jules Aguillon
cc0557bb27 ocamlformat: Don't depend on ocaml-ng
This made ocamlformat always build with the default version of OCaml
independently from the specified version.

The library was incompatible with the other libraries when using a
version different from the default.
2023-07-05 17:45:52 +02:00
Jules Aguillon
fb98ebb9a0 ocamlPackages.ocamlformat: Move into 'ocamlPackages'
Move the definitions of OCamlformat packages into ocamlPackages. This
moves the package containing the tool closer to the definition of the
library.

It's now possible to build OCamlformat using a different version of
OCaml than the default.

`ocamlformat`, `ocamlPackages.ocamlformat` and
`ocaml-ng.ocamlPackages_<lastest>.ocamlformat` are all aliases.
2023-07-05 17:21:04 +02:00