about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/aerc/default.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-02-24 21:46:51 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-02-24 21:46:51 +0700
commit0df4a5922d3fa548ff41a8e11d36c64ab8d21a18 (patch)
tree7ff03eee3ce6d5b0409063f4349654e19c4017e7 /pkgs/applications/networking/mailreaders/aerc/default.nix
parent7f9b6e2babf232412682c09e57ed666d8f84ac2d (diff)
aerc: 0.7.1 -> 0.8.2
Diffstat (limited to 'pkgs/applications/networking/mailreaders/aerc/default.nix')
-rw-r--r--pkgs/applications/networking/mailreaders/aerc/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/aerc/default.nix b/pkgs/applications/networking/mailreaders/aerc/default.nix
index 172cea3d061d8..3655480716324 100644
--- a/pkgs/applications/networking/mailreaders/aerc/default.nix
+++ b/pkgs/applications/networking/mailreaders/aerc/default.nix
@@ -5,13 +5,13 @@
 
 buildGoModule rec {
   pname = "aerc";
-  version = "0.7.1";
+  version = "0.8.2";
 
   src = fetchFromSourcehut {
     owner = "~rjarry";
     repo = pname;
     rev = version;
-    sha256 = "sha256-wiylBBqnivDnMUyCg3Zateu4jcjicTfrQFALT8dg5No=";
+    sha256 = "sha256-CCRrjbJuQHd1GXQ2hVOZHNo417T222IwAAZWy6aWYe0=";
   };
 
   proxyVendor = true;
@@ -28,6 +28,12 @@ buildGoModule rec {
     ./runtime-sharedir.patch
   ];
 
+  postPatch = ''
+    substituteAllInPlace config/aerc.conf
+    substituteAllInPlace config/config.go
+    substituteAllInPlace doc/aerc-config.5.scd
+  '';
+
   pythonPath = [
     python3.pkgs.colorama
   ];