pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / gn / gnome-software / fix-paths.patch
blob6f443a8a43edb4e1a2498e499e2d61f76e10a435
1 --- a/src/gs-language.c
2 +++ b/src/gs-language.c
3 @@ -95,7 +95,7 @@
4 g_autoptr(GMarkupParseContext) context = NULL;
6 /* find filename */
7 - filename = g_build_filename (DATADIR, "xml", "iso-codes", "iso_639.xml", NULL);
8 + filename = g_build_filename ("@isocodes@", "share", "xml", "iso-codes", "iso_639.xml", NULL);
9 if (!g_file_test (filename, G_FILE_TEST_EXISTS)) {
10 g_free (filename);
11 filename = g_build_filename ("/usr", "share", "xml", "iso-codes", "iso_639.xml", NULL);