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
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
Silvan Mosberger
667d42c00d
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 57b193d8dd
result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Vincent Laporte
646c7f3be4
ocamlPackges.ppx_tools: fix evaluation for OCaml ≥ 5.2
2024-05-14 05:47:20 +02:00
Vincent Laporte
b787aa207f
ocaml-ng.ocamlPackages_5_1.ocaml: init at 5.1.0-rc3
2023-09-08 11:50:46 +02:00
Ulrik Strid
f12b9ea461
buildDunePackage: default to strictDeps = true
2023-02-03 08:59:34 +01:00
Vincent Laporte
b2e47ddd5c
ocamlPackages.ppx_tools: enable for OCaml 5 & use dune 3
2022-12-31 09:44:15 +01:00
Vincent Laporte
a070b3c46b
ocamlPackages.ppx_tools: 6.5 → 6.6
2022-10-08 07:59:55 +02:00
Vincent Laporte
aa6313a23d
ocamlPackages.ppx_tools: 6.4 → 6.5
2022-03-15 08:38:01 +01:00
Ulrik Strid
a13cdfe520
ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
...
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild.
This makes some closures significantly smaller and makes cross compilation easier
2022-02-24 14:39:27 +01:00
Vincent Laporte
8de09802e0
ocamlPackages.ppx_tools: 6.3 → 6.4
...
Adds support for OCaml 4.13
2021-08-12 11:27:10 +02:00
Vincent Laporte
3a76b7d9f5
ocamlPackages.ppx_tools: use Dune 2
2021-01-31 14:16:02 +01:00
Antonio Nuno Monteiro
c5ddb07e28
ocamlPackages.ppx_tools: 6.2 → 6.3 (add 4.12 support) ( #110009 )
2021-01-21 08:25:33 +01: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
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Vincent Laporte
f4722ea0bc
ocamlPackages.ppx_tools: 6.1 → 6.2
2020-07-15 15:48:04 +02:00
Patrick Hilhorst
5b49816cf4
treewide: add quotes to recently-changed urls
...
Co-Authored-By: Drew <drewrisinger@users.noreply.github.com >
2020-03-28 00:05:50 +01:00
Patrick Hilhorst
9fc5e7e473
treewide: fix redirected urls (again)
...
Ran the same script as #78265 .
Additionally, manually replaced `http://goodies.xfce.org `
with https.
2020-03-20 13:36:23 +01:00
Vincent Laporte
6036633e2b
ocamlPackages.ppx_tools: 5.3 → 6.{0,1}
2020-02-24 09:48:13 +01:00
Alexander Bantyev
81384e0f0c
ocaml: num: add ability to link statically
2019-11-26 18:03:55 +03:00
Yorick van Pelt
4550405ac9
ocaml-modules: replace buildInputs with nativeBuildInputs where appropriate
...
The default has been to use buildInputs for build dependencies.
This doesn't work when cross-compiling.
2019-11-11 11:10:14 +03:00
Vincent Laporte
0c2aa9dd33
ocamlPackages.ppx_tools: enable at 5.3+4.08.0 for OCaml 4.09
2019-10-25 07:09:42 +00:00
volth
7b8fb5c06c
treewide: remove redundant quotes
2019-09-08 23:38:31 +00:00
Vincent Laporte
ff6c982e5e
ocamlPackages.ppx_tools: init at 5.3 for OCaml 4.08
2019-08-20 04:55:45 +00:00
Vincent Laporte
d534882ca2
ocamlPackages.ppx_tools: enable for OCaml 4.07
2018-07-14 17:17:51 +00:00
Vincent Laporte
10fd7ccfde
ocamlPackages.ppx_tools: init at 5.1+4.06.0
2017-10-26 00:38:54 +00:00
Vincent Laporte
9431e49822
ocamlPackages.ppx_tools: init at 5.0+4.05
2017-02-28 02:38:21 +00:00
Vincent Laporte
b2a4eb839a
ppx_tools, camlp4, ocamlify, ocamlmod: don’t strip binaries
2017-02-26 21:18:42 +01:00
Vincent Laporte
9f334c2732
ocamlPackages.ppx_tools: init at unstable-20161114 (for OCaml 4.04)
2017-02-02 20:27:30 +00:00
Vincent Laporte
0caeaf4cdd
ocamlPackages.ppx_tools: minor refactoring
2017-01-24 21:13:00 +00:00
Théophane Hufschmitt
f0bbb906e9
ocamlPackages.ppx_tools : Add a version for ocaml 4.03
2016-08-04 14:44:34 +02:00
Florent Becker
51fd238d80
ocaml-ppx_tools: 4.02.3 -> 5.0+4.02
2016-05-31 19:10:06 +02:00
Vincent Laporte
31247bc593
ocaml-ppx_tools: 0.99.2 -> 4.02.3
2016-05-25 11:00:52 +02:00
Nicolas B. Pierron
72c6f8a140
Ensure that we can evaluate the platform attribute of ocaml packages.
2016-03-13 19:08:26 +00:00
Vincent Laporte
62a7ba20c1
ocaml-ppx_tools: init at 0.99.2
...
Tools for authors of ppx rewriters
Homepage: https://github.com/alainfrisch/ppx_tools
2015-10-20 21:53:12 +02:00