harfbuzz: default withCoreText to true on darwin (#406734)

This commit is contained in:
Wolfgang Walther
2025-05-16 20:30:39 +00:00
committed by GitHub
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
icu,
graphite2,
harfbuzz, # The icu variant uses and propagates the non-icu one.
withCoreText ? false,
withCoreText ? stdenv.hostPlatform.isDarwin, # withCoreText is required for macOS
withIcu ? false, # recommended by upstream as default, but most don't needed and it's big
withGraphite2 ? true, # it is small and major distros do include it
python3,
+1 -5
View File
@@ -1546,7 +1546,6 @@ with pkgs;
cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { };
kitty = callPackage ../by-name/ki/kitty/package.nix {
harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; };
inherit (darwin) autoSignDarwinBinariesHook;
};
@@ -8382,9 +8381,7 @@ with pkgs;
cairomm_1_16 = callPackage ../development/libraries/cairomm/1.16.nix { };
pango = callPackage ../development/libraries/pango {
harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; };
};
pango = callPackage ../development/libraries/pango { };
pangomm = callPackage ../development/libraries/pangomm { };
@@ -8462,7 +8459,6 @@ with pkgs;
};
harfbuzzFull = harfbuzz.override {
withCoreText = stdenv.hostPlatform.isDarwin;
withGraphite2 = true;
withIcu = true;
};