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

12 lines
304 B
Diff
Raw Normal View History

2017-12-19 07:54:44 +01: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";
+ path = "@OSINFO_DB_DATA_DIR@/osinfo";
file = g_file_new_for_path(path);
}