Browse Source

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>
snapper
Carl Dong 3 years ago
committed by Danny Milosavljevic
parent
commit
99629e5a11
No known key found for this signature in database GPG Key ID: E71A35542C30BAA5
  1. 5
      gnu/packages/finance.scm

5
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.

Loading…
Cancel
Save