unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic.
@ 2019-01-21 19:55 Carl Dong
  2019-01-22 14:28 ` bug#34165: " Danny Milosavljevic
  2019-01-23  9:07 ` [bug#34165] " Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Carl Dong @ 2019-01-21 19:55 UTC (permalink / raw)
  To: 34165

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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-28 13:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 19:55 [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic Carl Dong
2019-01-22 14:28 ` bug#34165: " 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).