aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/finance.scm
diff options
context:
space:
mode:
authorCarl Dong <accounts@carldong.me>2019-01-21 14:51:57 -0500
committerDanny Milosavljevic <dannym@scratchpost.org>2019-01-22 15:26:03 +0100
commit99629e5a110a9a91151bd0e63a1805446996a3c8 (patch)
treeffdc59bfceb864f296efba67797810125e13ab69 /gnu/packages/finance.scm
parent0845999a5ece26eb382ea21f6d5da5caa649c8c6 (diff)
downloadpatches-99629e5a110a9a91151bd0e63a1805446996a3c8.tar
patches-99629e5a110a9a91151bd0e63a1805446996a3c8.tar.gz
gnu: bitcoin-core: Make bitcoin-qt deterministic.
* gnu/packages/finance.scm (bitcoin-core)[arguments]<#:phases> [make-qt-deterministic]: New phase. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r--gnu/packages/finance.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 4683887979..2be4bcf030 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -115,6 +115,11 @@
"/bin/lupdate"))
#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'make-qt-deterministic
+ (lambda _
+ ;; Make Qt deterministic.
+ (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
+ #t))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME.