about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2024-05-07 12:00:00 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-08 09:27:00 +0000
commit8838acca04e5342c1e4055964899c9fb142e2581 (patch)
tree05cdcd4b4b0f54f7e6fe4cbb7f594e065686263e
parent003fa89a7f1a938e341c4c523d378bc9868a775f (diff)
gnucash: fix qif import by backporting a patch
(cherry picked from commit 7650d7e7d221c0e561ed36235e7151b8823a11d7)
-rw-r--r--pkgs/applications/office/gnucash/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix
index da94f9674ca28..322bb2a0e3c6a 100644
--- a/pkgs/applications/office/gnucash/default.nix
+++ b/pkgs/applications/office/gnucash/default.nix
@@ -76,6 +76,12 @@ stdenv.mkDerivation rec {
     ./0003-remove-valgrind.patch
     # this patch makes gnucash exec the Finance::Quote wrapper directly
     ./0004-exec-fq-wrapper.patch
+    # Fix importing QIF by backporting a fix. remove on next release
+    # https://bugs.gnucash.org/show_bug.cgi?id=799262
+    (fetchpatch {
+      url = "https://github.com/Gnucash/gnucash/commit/b33b864c2fa0ba72d1940465e7fa962dd36833c9.patch";
+      hash = "sha256-A8pYW6CcNFBGC/MDijnuFJdlNAzSDS6Tcj+haCcEI/M=";
+    })
   ];
 
   # this needs to be an environment variable and not a cmake flag to suppress