Commit Graph

14 Commits

Author SHA1 Message Date
Guy Chronister
5ebb1fb432 ocamlPackages.mldoc: migrate to finalAttrs 2026-05-12 13:28:18 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +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
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Mario Rodas
5354f24b3c ocamlPackages.mldoc: 1.5.6 -> 1.5.8
Diff: 2a700b2e47...v1.5.8
2023-11-17 07:40:28 +01:00
Mario Rodas
8295574499 ocamlPackages.mldoc: 1.5.2 -> 1.5.6
Diff: https://github.com/logseq/mldoc/compare/v1.5.2...2a700b2e4797e47505f423fd47dc07372bd7b04e
2023-06-27 10:08:00 +02:00
Vincent Laporte
0bd1408dfe ocamlPackages: fix eval
Evaluation for OCaml < 4.08 has been broken by
d9f767600f
2023-03-27 06:52:40 +02:00
Mario Rodas
493fe01d9f ocamlPackages.mldoc: 1.4.9 -> 1.5.2 2023-01-12 04:20:00 +00:00
Mario Rodas
cb81a9ca94 ocamlPackages.mldoc: 1.4.8 -> 1.4.9 2022-10-01 17:37:21 +02:00
Mario Rodas
c43baa4e38 ocamlPackages.mldoc: 1.3.9 -> 1.4.8 2022-09-23 04:20:00 +00:00
Mario Rodas
9467dd3284 ocamlPackages.mldoc: init at 1.3.9 2022-06-27 06:55:25 +02:00