mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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>
This commit is contained in:
parent
0845999a5e
commit
99629e5a11
1 changed files with 5 additions and 0 deletions
|
@ -115,6 +115,11 @@ (define-public bitcoin-core
|
||||||
"/bin/lupdate"))
|
"/bin/lupdate"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'check 'set-home
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME.
|
(setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME.
|
||||||
|
|
Loading…
Reference in a new issue