1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00
nixpkgs/pkgs/development/libraries/libosinfo/osinfo-db-data-dir.patch
2019-08-21 10:37:20 -07:00

12 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);
}