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
R. Ryantm
4fcfcfd142
ocamlPackages.fmt: 0.10.0 -> 0.11.0
2025-07-29 00:38:01 +00:00
R. Ryantm
fdaf567fed
ocamlPackages.fmt: 0.9.0 -> 0.10.0
2025-03-23 18:50:37 +01: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
0f4f35c7b0
ocamlPackages.fmt: 0.8.9 → 0.9.0
2022-08-31 07:36:39 +02:00
superherointj
414af487b1
Revert "ocamlPackages.fmt: 0.8.9 -> 0.9.0"
2022-07-04 18:32:17 -03:00
superherointj
d335ada6fe
Merge pull request #165068 from r-ryantm/auto-update/ocaml4.13.1-fmt
...
ocamlPackages.fmt: 0.8.9 -> 0.9.0
2022-07-03 14:18:09 -03:00
Vincent Laporte
7d634c9f97
ocamlPackages.fmt: do not propagate cmdliner
2022-06-23 22:38:14 +02:00
Anders Kaseorg
6920d8ca42
treewide: Simplify negated uses of versionAtLeast, versionOlder
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-04-25 13:35:24 -07:00
R. Ryantm
d85989da31
ocamlPackages.fmt: 0.8.9 -> 0.9.0
2022-03-21 06:30:06 +00: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
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
Hongchang Wu
b50ef4e3f2
ocamlPackages.fmt: 0.8.8 -> 0.8.9
2020-10-08 11:36:01 +02:00
sternenseemann
a3cd9c9767
ocamlPackages.fmt: 0.8.6 -> 0.8.8
2020-04-15 18:30:09 +02:00
Vincent Laporte
32e5039100
ocamlPackages.fmt: 0.8.5 → 0.8.6
2020-04-10 19:03:52 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01: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
Daniel Schaefer
bac4d95aa2
treewide: Change URLs to HTTPS
...
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Matthew Bauer
290a5d916e
treewide: update homepages to https where available
...
Based on "problems" from repology:
https://repology.org/repository/nix_unstable/problems
Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Théo Zimmermann
208aedb971
ocamlPackages.*: remove unnecessary unpackCmd
2018-11-12 17:25:18 +00:00
R. RyanTM
d0db0bd3e9
ocamlPackages.fmt: 0.8.4 -> 0.8.5
...
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-fmt/versions
2018-10-26 22:47:59 -07:00
Vincent Laporte
5e4edcc4ec
ocamlPackages.topkg: refactoring
2017-12-14 07:36:29 +00:00
Vincent Laporte
4a370d7fb9
ocamlPackages.fmt: 0.8.2 -> 0.8.4
2017-07-11 22:54:40 +02:00
Vincent Laporte
b90d1a4496
ocamlPackages.fmt: 0.8.0 -> 0.8.2
2017-03-26 14:15:11 +00:00
Vincent Laporte
66b9602a2f
ocamlPackages.fmt: init at 0.8.0
...
fmt is an OCaml library of Format pretty-printer combinators.
Homepage: http://erratique.ch/software/fmt
2016-11-23 10:01:31 +01:00