mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
14 lines
641 B
Diff
14 lines
641 B
Diff
diff --git a/src/modules/locale/Config.cpp b/src/modules/locale/Config.cpp
|
|
index 54ff5eb64..1a2b98c9c 100644
|
|
--- a/src/modules/locale/Config.cpp
|
|
+++ b/src/modules/locale/Config.cpp
|
|
@@ -48,7 +48,7 @@ loadLocales( const QString& localeGenPath )
|
|
// supported locales. We first try that one, and if it doesn't exist, we fall back
|
|
// to parsing the lines from locale.gen
|
|
localeGenLines.clear();
|
|
- QFile supported( "/usr/share/i18n/SUPPORTED" );
|
|
+ QFile supported( "/run/current-system/sw/share/i18n/SUPPORTED" );
|
|
QByteArray ba;
|
|
|
|
if ( supported.exists() && supported.open( QIODevice::ReadOnly | QIODevice::Text ) )
|