ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / games / classicube / font-location.patch
blobbb7d383236f5f2558f01b2a6369268e1affec458
1 diff --git a/src/Platform_Posix.c b/src/Platform_Posix.c
2 index 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%")
15 #endif
16 for (i = 0; i < Array_Elems(dirs); i++) {