From fd765cb11e5483f38db03e69324eb13473c4bad2 Mon Sep 17 00:00:00 2001 From: SandaruKasa Date: Fri, 22 May 2026 17:54:26 +0300 Subject: [PATCH] Revert "google-chrome: fix CJK fonts by default" This reverts commit 97c3e85a82e1a3507d2b579d2dc479983603c8b7. --- pkgs/by-name/go/google-chrome/package.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/by-name/go/google-chrome/package.nix b/pkgs/by-name/go/google-chrome/package.nix index 6b446a00ec00..dd3937ec6789 100644 --- a/pkgs/by-name/go/google-chrome/package.nix +++ b/pkgs/by-name/go/google-chrome/package.nix @@ -79,11 +79,6 @@ bzip2, libcap, - # Fonts (See issue #463615) - makeFontsConf, - noto-fonts-cjk-sans, - noto-fonts-cjk-serif, - # Necessary for USB audio devices. libpulseaudio, pulseSupport ? true, @@ -220,13 +215,6 @@ let rpath = lib.makeLibraryPath deps + ":" + lib.makeSearchPathOutput "lib" "lib64" deps; binpath = lib.makeBinPath deps; - fontsConf = makeFontsConf { - fontDirectories = [ - noto-fonts-cjk-sans - noto-fonts-cjk-serif - ]; - }; - installPhase = '' runHook preInstall @@ -278,7 +266,6 @@ let --prefix PATH : "$binpath" \ --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \ --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addDriverRunpath.driverLink}/share" \ - --set FONTCONFIG_FILE "${finalAttrs.fontsConf}" \ --set CHROME_WRAPPER "google-chrome-$dist" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \ --add-flags "--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'" \