Commit Graph

2747 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
R. Ryantm
256c947242 twemoji-color-font: 15.0.3 -> 15.1.0 2024-11-03 11:11:25 +00:00
piegames
ad8d051645
treewide: Fix indentation in strings (#350296) 2024-10-23 21:44:22 +02:00
Pol Dellaiera
8761f1f1d9
iosevka-bin: 31.7.1 -> 31.9.1 (#350134) 2024-10-23 14:56:24 +02:00
piegames
68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +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
8b59a0848a julia-mono: 0.057 -> 0.058 2024-10-20 04:46:08 +00:00
Ivan Timokhin
6bd8f78df7 junicode: 2.208 -> 2.209
Changelog:
https://github.com/psb1558/Junicode-font/releases/tag/v2.209
2024-10-14 15:36:20 +02:00
h7x4
f4f573fde4
lxgw-wenkai: move to pkgs/by-name, 1.330 -> 1.500, add ryanccn as maintainer (#346303) 2024-10-10 08:59:12 +02:00
R. Ryantm
1f738b3f6d iosevka: 31.7.1 -> 31.8.0 2024-10-09 10:07:10 +00:00
Nick Cao
e60056ba3f
sudo-font: 1.4 -> 2.0.0 (#346307) 2024-10-06 10:40:17 -04:00
OTABI Tomoya
4fb547048d
cozette: 1.25.1 -> 1.25.2 (#344869) 2024-10-06 17:10:55 +09:00
R. Ryantm
eeeb90a1dd twemoji-color-font: 14.0.2 -> 15.0.3 2024-10-04 08:47:36 +00:00
R. Ryantm
18cb5cb442 sudo-font: 1.4 -> 2.0.0 2024-10-04 03:11:36 +00:00
Ryan Cao
ec7c9c3d97
lxgw-wenkai: move to pkgs/by-name 2024-10-04 10:46:35 +08:00
Peder Bergebakken Sundt
3100acba08 treewide: \xc2\xa0 ->
I have no idea what this escape sequence even is, but it breaks the nix parser with cryptic errors if not used in a comment.
A friend let me know MacOS is prone to input weird spaces, not sure if that is the source.

Candidates were located and created with:

    chr="$(echo -e '\xc2\xa0')"; rg -F "$chr" -l | xe sd -F "$chr" " "

There are some examples left, most being example output from `tree` in various markdown documents, some patches which we can't really touch, and `pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py` which I'm not sure if should be addressed
2024-10-02 15:33:06 +02:00
Vincent Laporte
5a8e34e98d
libertinus: 7.040 → 7.051 (#344345) 2024-10-02 06:10:01 +02: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
R. Ryantm
d53586885c cozette: 1.25.1 -> 1.25.2 2024-09-27 12:44:54 +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
Nikolay Korotkiy
b409cdb759
iosevka: 31.6.0 -> 31.6.1 (#343440) 2024-09-22 15:19:54 +04:00
Robert Helgesson
e34b70e077 unifont: 15.1.05 -> 16.0.01 2024-09-22 08:17:57 +02:00
R. Ryantm
87d1ec5b37 iosevka: 31.6.0 -> 31.6.1 2024-09-21 07:04:43 +00:00
Nick Cao
ace5234a41
i-dot-ming: 8.00 -> 8.10 (#343226) 2024-09-20 17:06:02 -04:00
Leah Amelia Chen
2825fb0546
i-dot-ming: 8.00 -> 8.10 2024-09-20 12:08:25 +02:00
R. Ryantm
f9af46ae15 julia-mono: 0.056 -> 0.057 2024-09-19 02:00:23 +00:00
Nick Cao
2ff4293743
last-resort: 15.100 -> 16.000 (#341495) 2024-09-17 15:55:34 -04:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
R. Ryantm
483b8847c2 last-resort: 15.100 -> 16.000 2024-09-13 05:48:47 +00:00
Weijia Wang
55fb76dc7e
iosevka-bin: 30.3.3 -> 31.4.0 (#332636) 2024-09-10 00:38:00 +02:00
Ate329
284f21cb96
gdouros: fix dn-works fonts issue 2024-09-09 15:16:38 +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
Philip Taron
ae92f312bf
treewide: use a consistent meta.priority default 2024-08-29 09:04:57 -07: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
Peder Bergebakken Sundt
ca24b6904b
Merge pull request #333785 from Coca162/monocraft-4.0
monocraft: 3.0 -> 4.0
2024-08-17 22:56:00 +02:00
Sebastián Mancilla
ed11cfc1fb
Merge pull request #331898 from r-ryantm/auto-update/sudo-font
sudo-font: 1.3 -> 1.4
2024-08-15 23:06:04 -04:00
Pol Dellaiera
e8aed17972
Merge pull request #333407 from luftmensch-luftmensch/intel-one-mono_1.4.0
intel-one-mono: 1.3.0 -> 1.4.0
2024-08-11 13:09:17 +02:00
luftmensch-luftmensch
6d359e7177
intel-one-mono: 1.3.0 -> 1.4.0 2024-08-11 11:42:29 +02:00
R. Ryantm
e54897b75c iosevka: 31.0.0 -> 31.2.0 2024-08-11 04:26:53 +00:00
Coca
4fbc056449
monocraft: 3.0 -> 4.0 2024-08-11 01:26:10 +03:00
R. Ryantm
8507b91b5b cozette: 1.25.0 -> 1.25.1 2024-08-07 10:33:45 +00:00
Franz Pletz
1364c767e9
Merge pull request #332148 from emilazy/in-memoriam-AluisioASG 2024-08-06 14:10:43 +02:00
Vincent Laporte
16f6d7b9c9 annapurna-sil: 2.000 → 2.100 2024-08-05 07:04:57 +02:00