storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / libosinfo / osinfo-db-data-dir.patch
blob2197eca23d9dcace32c75fb85e29f57714c927d4
1 --- a/osinfo/osinfo_loader.c
2 +++ b/osinfo/osinfo_loader.c
3 @@ -2304,7 +2304,7 @@
4 } else {
5 path = g_getenv("OSINFO_SYSTEM_DIR");
6 if (!path)
7 - path = DATA_DIR "/osinfo";
8 + path = "@osinfo_db_data_dir@/osinfo";
10 file = g_file_new_for_path(path);