Commit Graph

28 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
Luna Nova
e7fbed853b treewide: remove usages of obsolete pie hardening flag 2025-10-09 10:13:03 -07: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
R. Ryantm
a6d3a11af3 ocamlPackages.ocamlbuild: 0.15.0 -> 0.16.1 2025-02-27 11:31:18 +00: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
fa12063f12 ocamlPackages.ocamlbuild: use version 0.14.3 with OCaml 4.07 2024-09-23 07:46:22 +02:00
Vincent Laporte
ac9ee278f5 ocamlPackages.ocamlbuild: 0.14.3 for OCaml < 4.07 2024-07-22 11:03:42 +02:00
R. Ryantm
6cbd5fdd19 ocamlPackages.ocamlbuild: 0.14.3 -> 0.15.0 2024-06-29 13:45:32 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
f6c220abd4 ocamlPackages.ocamlbuild: 0.14.2 -> 0.14.3 2024-01-06 09:16:05 +01:00
Vincent Laporte
d618530963 ocamlPackages.ocamlbuild: 0.14.1 → 0.14.2 2022-10-13 07:55:32 +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
R. Ryantm
2bf2a759db ocamlPackages.ocamlbuild: 0.14.0 -> 0.14.1 2022-03-21 04:22:29 +00:00
Felix Buehler
4861b5971b ocamlPackages.ocamlbuild: rename name to pname&version 2022-01-24 14:48:05 +01:00
Guillaume Girol
a5c133a4b4 ocamlbuild: fix build
findlib's setup hook is now a preConfigure setup hook, so make sure to
run it
2021-08-19 12:00:00 +00:00
Guillaume Girol
ce31d529bc ocamlbuild: fix static cross 2021-08-19 09:30:48 +02:00
Felix Buehler
87316d778b various: cleanup of "inherit version;" 2021-07-18 00:19:24 +02:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vincent Laporte
0379e97193 ocamlPackages.ocamlbuild: 0.12.0 -> 0.14.0 2019-03-03 10:57:18 +01:00
Timo Kaufmann
eb3240f112 Revert "ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.0" 2018-10-25 09:40:39 +02:00
R. RyanTM
d8178831b0 ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ocamlbuild/versions
2018-09-20 07:53:11 -07:00
Ryan Mulligan
7312e850c1 ocamlPackages.ocamlbuild: 0.11.0 -> 0.12.0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0/bin/ocamlbuild --help` got 0 exit code
- ran `/nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0/bin/ocamlbuild --version` and found version 0.12.0
- ran `/nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0/bin/ocamlbuild --help` and found version 0.12.0
- ran `/nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0/bin/ocamlbuild.native --help` got 0 exit code
- ran `/nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0/bin/ocamlbuild.native --version` and found version 0.12.0
- ran `/nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0/bin/ocamlbuild.native --help` and found version 0.12.0
- found 0.12.0 with grep in /nix/store/b1b0f9iyawv0rm483q2fbbfhgjgpjdik-ocamlbuild-0.12.0
- directory tree listing: https://gist.github.com/3b75d2c602f455856f9642228b53d2e7
2018-03-20 22:23:17 -07:00
Vincent Laporte
cb61845c4a ocamlbuild: remove unused arguments 2017-10-14 06:40:21 +00:00
Vincent Laporte
34809eb214 ocamlPackages.ocamlbuild: 0.9.3 -> 0.11.0 2017-03-21 18:13:32 +00:00
Vincent Laporte
42a0fc4387 ocamlbuild: 0.9.2 -> 0.9.3 2016-12-12 03:18:48 +00:00
Théophane Hufschmitt
ce90c90274 ocamlPackages.ocamlbuild : init at 0.9.2 2016-08-04 14:44:35 +02:00