depot/third_party/nixpkgs/pkgs/development/libraries/libosinfo/osinfo-db-data-dir.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

11 lines
304 B
Diff

--- a/osinfo/osinfo_loader.c
+++ b/osinfo/osinfo_loader.c
@@ -2304,7 +2304,7 @@
} else {
path = g_getenv("OSINFO_SYSTEM_DIR");
if (!path)
- path = DATA_DIR "/osinfo";
+ path = "@osinfo_db_data_dir@/osinfo";
file = g_file_new_for_path(path);
}