From: Carl Dong <contact@carldong.me>
To: 34165@debbugs.gnu.org
Subject: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic.
Date: Mon, 21 Jan 2019 19:55:35 +0000 [thread overview]
Message-ID: <qHq-f-ApWJCp4wLr7bTekukXH3hkLWqooUuEQeJIcXKG1vDbOCsBUYpeedzxf1qeM1CWiGKy6pfeME24YXbJDqD3RA6zUt3fv324jK-n09g=@carldong.me> (raw)
From 2b3162dde22a5d44eb5910b0fcfa07318f935aaf Mon Sep 17 00:00:00 2001
From: Carl Dong <accounts@carldong.me>
Date: Mon, 21 Jan 2019 14:51:57 -0500
Subject: [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic.
* gnu/packages/finance.scm: Make bitcoin-qt deterministic.
---
gnu/packages/finance.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 468388797..96df919c4 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -115,6 +115,9 @@
"/bin/lupdate"))
#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'qt-time
+ (lambda _
+ (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1"))) ; Make QT deterministic
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME.
--
2.20.1
next reply other threads:[~2019-01-21 20:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-21 19:55 Carl Dong [this message]
2019-01-22 14:28 ` bug#34165: [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic Danny Milosavljevic
2019-01-23 9:07 ` [bug#34165] " Ludovic Courtès
2019-01-23 14:41 ` Ricardo Wurmus
2019-01-26 18:07 ` Efraim Flashner
2019-01-27 22:39 ` Ludovic Courtès
2019-01-28 11:07 ` Danny Milosavljevic
2019-01-28 13:39 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='qHq-f-ApWJCp4wLr7bTekukXH3hkLWqooUuEQeJIcXKG1vDbOCsBUYpeedzxf1qeM1CWiGKy6pfeME24YXbJDqD3RA6zUt3fv324jK-n09g=@carldong.me' \
--to=contact@carldong.me \
--cc=34165@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.