nixpkgs/pkgs/development/libraries/libosinfo/osinfo-db-data-dir.patch

12 lines
304 B
Diff
Raw Normal View History

2017-12-19 06:54:44 +00:00
--- 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";
2019-08-21 01:25:37 +00:00
+ path = "@osinfo_db_data_dir@/osinfo";
2017-12-19 06:54:44 +00:00
file = g_file_new_for_path(path);
}