Commit Graph

10 Commits

Author SHA1 Message Date
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
Nguyễn Gia Phong
4ea3cb472b
flare: 1.13.04 -> 1.14 2023-03-30 23:10:31 +09:00
Nguyễn Gia Phong
6218cc15a1 flare: 1.13 -> 1.13.04 2022-02-10 11:48:37 -08:00
Nguyễn Gia Phong
02c976001a
flare: 1.12 -> 1.13
Also add myself as a maintainer.
2022-02-06 14:44:03 +07:00
Nguyễn Gia Phong
b38d8b9960
flare: 1.12rc2 -> 1.12 2021-08-03 14:57:06 +07:00
Nguyễn Gia Phong
b9cb6066f7
flare: 1.12rc1 -> 1.12rc2 2021-07-15 15:11:37 +07:00
Nguyễn Gia Phong
873fd459a3
flare: 1.11 -> 1.12rc1 2021-07-06 22:50:34 +07: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
Aaron Andersen
14e3ee4860 flare: 1.10 -> 1.11 2019-08-03 07:19:11 -04:00
Aaron Andersen
784812cc5c flare: init at 1.10 2019-05-19 17:59:37 -04:00