nerd-fonts: improve alias throw to give example migration (#362769)

This commit is contained in:
Aleksana
2024-12-07 19:25:38 +08:00
committed by GitHub
2 changed files with 16 additions and 2 deletions
@@ -70,7 +70,7 @@
files have changed from `$out/share/fonts/{opentype,truetype}/NerdFonts` to
`$out/share/fonts/{opentype,truetype}/NerdFonts/<fontDirName>`, where `<fontDirName>` can be found in the
[official website](https://www.nerdfonts.com/font-downloads) as the titles in preview images, with the "Nerd Font"
suffix and any whitespaces trimmed.
suffix and any whitespaces trimmed. Configuration changes are required, see build output.
- `retroarch` has been refactored and the older `retroarch.override { cores = [ ... ]; }` to create a RetroArch derivation with custom cores doesn't work anymore, use `retroarch.withCores (cores: [ ... ])` instead. If you need more customization (e.g.: custom settings), use `wrapRetroArch` instead.
+15 -1
View File
@@ -862,7 +862,21 @@ mapAliases {
nextcloud27Packages = throw "Nextcloud27 is EOL!"; # Added 2024-06-25
nagiosPluginsOfficial = monitoring-plugins;
neochat = libsForQt5.kdeGear.neochat; # added 2022-05-10
nerdfonts = throw "nerdfonts has been separated into individual font packages under the namespace nerd-fonts. To list all fonts use `builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts)`."; # Added 2024-11-09
nerdfonts = throw ''nerdfonts has been separated into individual font packages under the namespace nerd-fonts.
For example change:
fonts.packages = [
...
(pkgs.nerdfonts.override { fonts = [ "0xproto" "DroidSansMono" ]; })
]
to
fonts.packages = [
...
pkgs.nerd-fonts._0xproto
pkgs.nerd-fonts.droid_sans_mono
]
or for all fonts
font.packages = [ ... ] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts)
''; # Added 2024-11-09
newlibCross = newlib; # Added 2024-09-06
newlib-nanoCross = newlib-nano; # Added 2024-09-06
nix-direnv-flakes = nix-direnv;