Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 20 lines 901 B view raw
1diff --git a/src/MainWindow.vala b/src/MainWindow.vala 2index 14b0701..13638a5 100644 3--- a/src/MainWindow.vala 4+++ b/src/MainWindow.vala 5@@ -82,6 +82,7 @@ public class Feedback.MainWindow : Gtk.ApplicationWindow { 6 AppStream.PoolFlags.LOAD_FLATPAK | 7 AppStream.PoolFlags.RESOLVE_ADDONS 8 ); 9+ appstream_pool.add_extra_data_location ("/run/current-system/sw/share/metainfo/", AppStream.FormatStyle.METAINFO); 10 #else 11 appstream_pool.clear_metadata_locations (); 12 // flatpak's appstream files exists only inside they sandbox 13@@ -89,6 +90,7 @@ public class Feedback.MainWindow : Gtk.ApplicationWindow { 14 foreach (var app in app_entries) { 15 appstream_pool.add_metadata_location (appdata_dir.printf (app)); 16 } 17+ appstream_pool.add_metadata_location ("/run/current-system/sw/share/metainfo/"); 18 #endif 19 20 try {