python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / calamares / supportedlocale.patch
blobab161ffdee7c2028f4c534d23288a46afa0648a5
1 diff --git a/src/modules/locale/Config.cpp b/src/modules/locale/Config.cpp
2 index 2357019a7..75b547430 100644
3 --- a/src/modules/locale/Config.cpp
4 +++ b/src/modules/locale/Config.cpp
5 @@ -48,7 +48,7 @@ loadLocales( const QString& localeGenPath )
6 // supported locales. We first try that one, and if it doesn't exist, we fall back
7 // to parsing the lines from locale.gen
8 localeGenLines.clear();
9 - QFile supported( "/usr/share/i18n/SUPPORTED" );
10 + QFile supported( "/run/current-system/sw/share/i18n/SUPPORTED" );
11 QByteArray ba;
13 if ( supported.exists() && supported.open( QIODevice::ReadOnly | QIODevice::Text ) )