Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/Platform_Posix.c b/src/Platform_Posix.c 2index bca992d..3540afa 100644 3--- a/src/Platform_Posix.c 4+++ b/src/Platform_Posix.c 5@@ -440,9 +440,8 @@ void Platform_LoadSysFonts(void) { 6 String_FromConst("/Library/Fonts") 7 }; 8 #else 9- static const cc_string dirs[] = { 10- String_FromConst("/usr/share/fonts"), 11- String_FromConst("/usr/local/share/fonts") 12+ static const cc_string dirs[] = { 13+ String_FromConst("%NIXPKGS_FONT_PATH%") 14 }; 15 #endif 16 for (i = 0; i < Array_Elems(dirs); i++) {