Commit Graph

282 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
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
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
Weijia Wang
bf1e9b307f iosevka, iosevka-bin: move to pkgs/by-name 2025-01-04 19:54:58 +01:00
R. Ryantm
8316e7e641 iosevka-bin: 32.3.0 -> 32.3.1 2025-01-03 09:55:47 +00:00
R. Ryantm
041cda876a iosevka: 32.2.1 -> 32.3.1 2025-01-02 09:30:57 +00:00
R. Ryantm
e24aa49b5d iosevka-bin: 32.2.1 -> 32.3.0 2024-12-24 14:15:02 +00:00
Wolfgang Walther
63f0d53dcd iosevka-bin: 31.9.1 -> 32.2.1 (#360735) 2024-12-22 15:33:34 +01:00
lunik1
9788600c19 iosevka: 32.1.0 -> 32.2.1
Diff: https://github.com/be5invis/iosevka/compare/v32.1.0...v32.2.1
2024-12-13 22:48:58 +00:00
lunik1
fb9154a77a iosevka: correctly set build verbosity and suppress progress bar 2024-12-13 22:22:17 +00:00
R. Ryantm
997e1559dd iosevka-bin: 31.9.1 -> 32.2.1 2024-12-13 15:04:31 +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
R. Ryantm
f719a8a49b iosevka: 31.8.0 -> 32.1.0 2024-11-27 15:12:09 +00:00
Pol Dellaiera
8761f1f1d9 iosevka-bin: 31.7.1 -> 31.9.1 (#350134) 2024-10-23 14:56:24 +02:00
Damien Cassou
e3acda6ad2 iosevka-comfy: 2.0.0 -> 2.1.0 2024-10-21 12:08:07 +02:00
R. Ryantm
4161ea40cf iosevka-bin: 31.7.1 -> 31.9.1 2024-10-21 03:53:43 +00:00
R. Ryantm
1f738b3f6d iosevka: 31.7.1 -> 31.8.0 2024-10-09 10:07:10 +00:00
R. Ryantm
de23f9f756 iosevka-bin: 31.4.0 -> 31.7.1 2024-10-01 00:34:19 +00:00
R. Ryantm
262ec34318 iosevka: 31.6.1 -> 31.7.1 2024-09-30 07:05:05 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
87d1ec5b37 iosevka: 31.6.0 -> 31.6.1 2024-09-21 07:04:43 +00:00
Weijia Wang
55fb76dc7e iosevka-bin: 30.3.3 -> 31.4.0 (#332636) 2024-09-10 00:38:00 +02:00
R. Ryantm
f3991c8aa5 iosevka: 31.5.0 -> 31.6.0 2024-09-08 23:40:29 +00:00
R. Ryantm
deb04ac70d iosevka: 31.4.0 -> 31.5.0 2024-09-01 14:28:07 +00:00
R. Ryantm
f22c682151 iosevka-bin: 30.3.3 -> 31.4.0 2024-08-27 16:24:50 +00:00
Pol Dellaiera
6786028e86 Merge pull request #336594 from DamienCassou/iosevak-comfy-2
iosevka-comfy: 1.4.0 -> 2.0.0
2024-08-25 22:19:30 +02:00
R. Ryantm
46a4adbd67 iosevka: 31.3.0 -> 31.4.0 2024-08-25 04:33:20 +00:00
Damien Cassou
f308200adf iosevka-comfy: 1.4.0 -> 2.0.0 2024-08-24 21:15:02 +02:00
R. Ryantm
62e6739e3f iosevka: 31.2.0 -> 31.3.0 2024-08-18 07:45:36 +00:00
R. Ryantm
e54897b75c iosevka: 31.0.0 -> 31.2.0 2024-08-11 04:26:53 +00:00
Franz Pletz
1364c767e9 Merge pull request #332148 from emilazy/in-memoriam-AluisioASG 2024-08-06 14:10:43 +02:00
Emily
af2b4c56fd treewide: retire late maintainer AluisioASG
I’ve sadly become aware that Aluísio Augusto Silva Gonçalves
(@AluisioASG), a contributor to Nixpkgs until 2021, tragically
[passed away that year] at the age of only 25 from complications
caused by COVID‐19.

[passed away that year]: https://ufpr.br/ufpr-lamenta-a-morte-do-estudante-aluisio-augusto-silva-goncalves-25-anos/

It doesn’t feel respectful of this loss to have a bot ping his
account every time Iosevka gets an update, or to have people expect
reviews or support for the packages he maintained, so let’s retire
his maintainer list entry.

I’ll adopt ffmpeg-python in my concurrent pull request, but there are
a lot of other packages that could use new maintainers. I encourage
people to consider continuing his work on Nixpkgs if any of them are
of interest.

On the off chance that any of his family or friends ever see this
message, I wish I could say more than that I’m sorry for your loss.
2024-08-04 02:50:54 +01:00
redyf
be556244a4 iosevka: 30.3.3 -> 31.0.0
https://github.com/be5invis/Iosevka/releases/tag/v31.0.0
2024-08-01 20:16:53 -03:00
K900
24076029d2 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-28 01:04:35 +03:00
R. Ryantm
091968c372 iosevka-bin: 30.3.2 -> 30.3.3 2024-07-25 06:09:03 +00:00
github-actions[bot]
e533bfc8da Merge master into staging-next 2024-07-20 18:01:23 +00:00
R. Ryantm
e79bacd1e7 iosevka: 30.3.2 -> 30.3.3 2024-07-20 17:07:14 +00:00
Randy Eckenrode
f9b7f4ec09 tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
R. Ryantm
d6c715a954 iosevka-bin: 30.3.1 -> 30.3.2 2024-07-15 11:35:32 +00:00
R. Ryantm
90e9c4366e iosevka: 30.3.1 -> 30.3.2 2024-07-08 05:46:43 +00:00
R. Ryantm
5708678167 iosevka-bin: 30.3.0 -> 30.3.1 2024-07-05 07:32:03 +00:00
R. Ryantm
da289dcc8f iosevka: 30.3.0 -> 30.3.1 2024-07-01 02:26:21 +00:00
R. Ryantm
af3bf66a11 iosevka-bin: 30.2.0 -> 30.3.0 2024-06-28 06:43:57 +00:00
Weijia Wang
d14f2617a6 Merge pull request #317926 from r-ryantm/auto-update/iosevka-bin
iosevka-bin: 30.1.1 -> 30.2.0
2024-06-28 01:17:45 +02:00
R. Ryantm
dae938a1bb iosevka: 30.2.0 -> 30.3.0 2024-06-23 01:57:17 +00:00
R. Ryantm
89520db5e4 iosevka-bin: 30.1.1 -> 30.2.0 2024-06-22 10:51:24 +00:00
R. Ryantm
bc159067b9 iosevka: 30.1.1 -> 30.2.0 2024-06-15 14:33:30 +00:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Bastien Riviere
40c9def80e remove 'babariviere' as a maintainer 2024-06-02 18:49:26 +02:00