nix: nix fmt

This commit is contained in:
Léana 江 2024-05-06 21:52:22 +02:00 committed by Léana 江
parent bcd7291e0a
commit 6d87902750
5 changed files with 39 additions and 31 deletions

View file

@ -2,12 +2,16 @@
let
pname = "altiosevka";
in
(iosevka.overrideAttrs (_: { inherit pname; })).override {
set = pname;
/* Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
(iosevka.overrideAttrs (_: {
inherit pname;
})).override
{
set = pname;
/*
Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
Use `term` spacing to avoid dashed arrow issue
https://github.com/ryanoasis/nerd-fonts/issues/1018
*/
privateBuildPlan = builtins.readFile ./buildplan.toml;
}
Use `term` spacing to avoid dashed arrow issue
https://github.com/ryanoasis/nerd-fonts/issues/1018
*/
privateBuildPlan = builtins.readFile ./buildplan.toml;
}

View file

@ -2,12 +2,16 @@
let
pname = "hiosevka";
in
(iosevka.overrideAttrs (_: { inherit pname; })).override {
set = pname;
/* Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
(iosevka.overrideAttrs (_: {
inherit pname;
})).override
{
set = pname;
/*
Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
Use `term` spacing to avoid dashed arrow issue
https://github.com/ryanoasis/nerd-fonts/issues/1018
*/
privateBuildPlan = builtins.readFile ./buildplan.toml;
}
Use `term` spacing to avoid dashed arrow issue
https://github.com/ryanoasis/nerd-fonts/issues/1018
*/
privateBuildPlan = builtins.readFile ./buildplan.toml;
}

View file

@ -9,12 +9,13 @@
useDefaultsArgs ? true,
}:
stdenvNoCC.mkDerivation {
/* Credits:
https://github.com/NixOS/nixpkgs/issues/44329#issuecomment-1231189572
https://github.com/NixOS/nixpkgs/issues/44329#issuecomment-1544597422
/*
Credits:
https://github.com/NixOS/nixpkgs/issues/44329#issuecomment-1231189572
https://github.com/NixOS/nixpkgs/issues/44329#issuecomment-1544597422
long font names is not problematic:
https://github.com/ryanoasis/nerd-fonts/issues/1018#issuecomment-1953555781
long font names is not problematic:
https://github.com/ryanoasis/nerd-fonts/issues/1018#issuecomment-1953555781
*/
name = "${font.name}-NerdFont";
src = font;