From 9c318e6d570e368d91b1e75164541dda34cb754a Mon Sep 17 00:00:00 2001
From: Kira Bruneau <kira.bruneau@gmail.com>
Date: Mon, 15 Feb 2021 11:08:29 -0500
Subject: [PATCH] newsflash: add explanation for no-post-install.patch

---
 .../networking/feedreaders/newsflash/default.nix             | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pkgs/applications/networking/feedreaders/newsflash/default.nix b/pkgs/applications/networking/feedreaders/newsflash/default.nix
index e8a76b3d491..37b34a39f07 100644
--- a/pkgs/applications/networking/feedreaders/newsflash/default.nix
+++ b/pkgs/applications/networking/feedreaders/newsflash/default.nix
@@ -31,6 +31,11 @@ rustPlatform.buildRustPackage rec {
   cargoSha256 = "0rnrdh9ganj63hf9j890yj9pahcgza95z7x020w72mbb4648hq26";
 
   patches = [
+    # Post install tries to generate an icon cache & update the
+    # desktop database. The gtk setup hook drop-icon-theme-cache.sh
+    # would strip out the icon cache and the desktop database wouldn't
+    # be included in $out. They will generated by xdg.mime.enable &
+    # gtk.iconCache.enable instead.
     ./no-post-install.patch
   ];