chore: Use pkgs's noto static font instead of myself

This commit is contained in:
ulic-youthlic 2026-02-10 17:14:13 +08:00
parent 427a5d8a69
commit 7aecc20c63
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 0 additions and 48 deletions

View file

@ -1,13 +1,3 @@
[noto-serif-cjk]
fetch.github = "notofonts/noto-cjk"
git.sparseCheckout = ["Serif/OTC"]
src.github = "notofonts/noto-cjk"
[noto-sans-cjk]
fetch.github = "notofonts/noto-cjk"
git.sparseCheckout = ["Sans/OTC"]
src.github = "notofonts/noto-cjk"
[spotx]
fetch.github = "SpotX-Official/SpotX-Bash"
src.git = "https://github.com/SpotX-Official/SpotX-Bash.git"

View file

@ -1,19 +0,0 @@
{
nixosTests,
srcs,
stdenvNoCC,
}: let
source = srcs.noto-sans-cjk;
in
stdenvNoCC.mkDerivation (_finalAttrs: {
pname = "noto-sans-cjk";
version = source.version;
src = source.src;
installPhase = ''
install -m444 -Dt $out/share/fonts/opentype/noto-sans-cjk Sans/OTC/*.ttc
'';
passthru.tests.noto-fonts = nixosTests.noto-fonts;
})

View file

@ -1,19 +0,0 @@
{
nixosTests,
srcs,
stdenvNoCC,
}: let
source = srcs.noto-serif-cjk;
in
stdenvNoCC.mkDerivation (_finalAttrs: {
pname = "noto-serif-cjk";
version = source.version;
src = source.src;
installPhase = ''
install -m444 -Dt $out/share/fonts/opentype/noto-serif-cjk Serif/OTC/*.ttc
'';
passthru.tests.noto-fonts = nixosTests.noto-fonts;
})