about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2024-05-08 11:26:27 +0200
committerGitHub <noreply@github.com>2024-05-08 11:26:27 +0200
commitfe433eb56782ed869e3c3dac60250d4d23b970df (patch)
tree9c18a7cc66e050423c58d9717b946075a2035c59
parent273fae3154f89f17891486df98587165322d902b (diff)
parent7650d7e7d221c0e561ed36235e7151b8823a11d7 (diff)
Merge pull request #309917 from symphorien/fix_gnucash_qif
gnucash: fix qif import by backporting a patch
-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 1551f2cad4287..6c8c0ee32f4ff 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