From 7650d7e7d221c0e561ed36235e7151b8823a11d7 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Tue, 7 May 2024 12:00:00 +0000 Subject: [PATCH] gnucash: fix qif import by backporting a patch --- pkgs/applications/office/gnucash/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix index 1551f2cad428..6c8c0ee32f4f 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