harfbuzz: fix checkPhase on sandboxed Darwin (#427893)

This commit is contained in:
Philip Taron
2026-03-12 13:20:13 +00:00
committed by GitHub
+5
View File
@@ -113,6 +113,11 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
# test_native_coretext_variations depends on the system fonts.
__impureHostDeps = lib.optionals stdenv.hostPlatform.isDarwin [
"/System/Library/Fonts"
];
# Slightly hacky; some pkgs expect them in a single directory.
postFixup = lib.optionalString withIcu ''
rm "$out"/lib/libharfbuzz.* "$dev/lib/pkgconfig/harfbuzz.pc"