summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/gnucash.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index 71a49b75d6..6df2b76505 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -102,6 +102,11 @@
(substitute* "CMakeLists.txt"
(("set\\(SHELL /bin/bash\\)")
(string-append "set(SHELL " (which "bash") ")")))))
+ (add-after 'unpack 'set-perl-path
+ (lambda _
+ (substitute* "libgnucash/app-utils/gnc-quotes.cpp"
+ (("c_cmd\\{bp::search_path\\(\"perl\"\\)\\}")
+ (format #f "c_cmd{~s}" #$(file-append perl "/bin/perl"))))))
;; The qof test requires the en_US, en_GB, and fr_FR locales.
(add-before 'check 'install-locales
(lambda _