Commit Graph

14 Commits

Author SHA1 Message Date
Guy Chronister
50de546f14 ocamlPackages.ppx_derivers: migrate to finalAttrs 2026-05-12 13:28:36 -05: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
8d5f73b543 ocamlPackages.ppx_derivers: use Dune 3 2024-04-11 10:08:05 +02:00
Vincent Laporte
6dace2206e ocamlPackages.ppx_derivers: pin Dune to version 1 for OCaml < 4.08 2023-05-03 22:08:00 +02:00
Vincent Laporte
25947abcf1 ocamlPackages.ppx_derivers: use Dune 2 2021-03-01 10:07:44 +01:00
zowoq
8488ebab05 ocamlPackages.*: use spaces for indentation 2021-01-21 10:30:13 +10:00
sternenseemann
4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00
R. RyanTM
8d9e99992e ocamlPackages.ppx_derivers: 1.2 -> 1.2.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ocaml4.06.1-ppx_derivers/versions
2019-05-05 11:37:30 -07:00
Théo Zimmermann
794158fcd5 buildDunePackage: new support function; use it to refactor some OCaml derivations 2018-11-07 10:08:03 +01:00
Vincent Laporte
fc19401d67 jbuilder: 1.0.1 -> dune: 1.1.1 2018-09-15 19:32:32 +00:00
R. RyanTM
bc5c98fcae ocamlPackages.ppx_derivers: 1.0 -> 1.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ocaml4.05.0-ppx_derivers/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.2 with grep in /nix/store/1z3j5cy1fcy8f0qhb4vfhkqk83sayq3d-ocaml4.05.0-ppx_derivers-1.2
- directory tree listing: https://gist.github.com/7778f1cdaa30a426b29cad1badb930de
2018-03-30 23:23:17 -07:00
Vincent Laporte
cf7df9230b ocamlPackages.ppx_derivers: init at 1.0
Ppx_derivers is a tiny package whose sole purpose is to allow ppx_deriving and
ppx_type_conv to inter-operate gracefully when linked as part of the same
ocaml-migrate-parsetree driver.

Homepage: https://github.com/diml/ppx_derivers
2017-08-23 20:22:00 +00:00