Commit Graph

11 Commits

Author SHA1 Message Date
TomaSajt
7f546b4208 treewide: replace misuses of lib.optional{,s} with lib.optionalString 2026-08-08 03:28:48 +02:00
Alexandre Esteves
89991bdff7 ocamlPackages.*: remove myself from maintainers 2026-02-14 05:19:14 +00:00
Guy Chronister
564437b4a6 ocamlPackages.bigstring: migrate to finalAttrs 2026-01-21 17:22:31 -06: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
Vincent Laporte
8ede16564f ocamlPackages.bigstring: use Dune 3 & fix for OCaml 5 2023-03-22 06:12:11 +01:00
Vincent Laporte
086ae4a06d ocamlPackages.bigstring: 0.2 → 0.3 2021-04-01 08:33:08 +02:00
Pavol Rusnak
6abf4a43ad treewide: per RFC45, remove more unquoted URLs 2020-05-08 15:20:47 +02:00
Alexandre Esteves
ce6dbccdfb ocamlPackages.bigstring: init at 0.2 2020-04-27 12:28:20 +02:00