Commit Graph

23 Commits

Author SHA1 Message Date
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
Vincent Laporte
cfe4f564bd ocamlPackages.ocaml_gettext: fix for OCaml 5.4 2025-10-21 07:23:38 +02:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
Vincent Laporte
33a287eb13 ocamlPackages.gettext: 0.4.2 → 0.5.0 2025-04-09 22:30:13 +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
971718f1d9 ocamlPackages.gettext-stub: disable for OCaml ≥ 5.0 2023-11-13 05:06:51 +01:00
Vincent Laporte
b56f06f3e8 ocamlPackages.camomile: 1.0.2 → 2.0.0 2023-10-02 08:21:20 +02:00
Vincent Laporte
c81792a457 ocamlPackages.ounit2: disable for OCaml < 4.08 2023-05-15 10:10:36 +02:00
Vincent Laporte
e7b211e3d2 ocamlPackages: default to version 3 of Dune 2023-05-12 05:50:40 +02:00
Ulrik Strid
376e9ceead treewide: add strictDeps = true to most packages depending on ocaml 2023-02-03 08:59:34 +01:00
Ulrik Strid
c53a63adf1 ocamlPackages treewide: strictDeps all packages 2023-02-03 08:59:34 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Vincent Laporte
ae179a485e ocamlPackages.ocaml_gettext: disable tests 2022-11-05 21:09:18 +01:00
ajs124
a0718341e6 maintainers: remove volth
github account deleted
2022-06-29 00:52:12 +02:00
Malo Bourgon
ba54ba9316 ocamlPackages: add meta.mainProgram to packages with multiple executables
where none of the executables match the package's `name` or `pname`, and
one of the executables is the obvious `mainProgram`.
2022-05-20 10:13:29 +02:00
Vincent Laporte
9ac5c7df17 ocamlPackages.gettext-camomile: init at 0.4.2 2021-04-02 09:13:44 +02:00
Vincent Laporte
0b6201180e ocamlPackages.gettext: use Dune 2 2021-02-16 09:36:40 +01:00
Vincent Laporte
b1aefc40bf ocamlPackages.ocaml_gettext: 0.4.1 → 0.4.2 2020-07-03 09:01:10 +02:00
Vincent Laporte
c0086a5c2a ocamlPackages.ocaml_gettext: 0.3.8 → 0.4.1 2020-04-06 13:57:21 +02:00
Vincent Laporte
7c749ba705 ocamlPackages.ocaml_gettext: 0.8.7 -> 0.8.8 2017-11-20 07:39:34 +00:00
Vincent Laporte
45431bed57 ocamlPackages.ocaml_gettext: 0.3.5 -> 0.3.7 2017-11-12 10:14:50 +00:00
Vincent Laporte
00e27a2854 ocaml-gettext: dont strip 2017-10-12 05:35:26 +00:00
volth
762cc106b4 virt-top: init at 1.0.8 (#21536) 2017-02-04 16:07:45 +01:00