[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: r-reticulate: Build reproducibly.
From: |
guix-commits |
Subject: |
branch master updated: gnu: r-reticulate: Build reproducibly. |
Date: |
Sun, 14 Aug 2022 14:59:00 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new a5f199732b gnu: r-reticulate: Build reproducibly.
a5f199732b is described below
commit a5f199732ba918b9486852308c5e19a73c8b48ff
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Aug 14 20:57:55 2022 +0200
gnu: r-reticulate: Build reproducibly.
* gnu/packages/cran.scm (r-reticulate)[arguments]: Add build phase
'build-reproducibly to ensure that pyc files are built reproducibly.
---
gnu/packages/cran.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4ad1bfa760..f76f50b68d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9216,6 +9216,14 @@ always locate the files relative to your project root.")
(base32
"0b1szzsqyc8wcfpkn5517bb1ds064vs2hky71my3p74kfngay991"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'build-reproducibly
+ (lambda _
+ (setenv "PYTHONHASHSEED" "0")
+ (setenv "PYTHONDONTWRITEBYTECODE" "1"))))))
(inputs (list python))
(propagated-inputs
(list r-here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: r-reticulate: Build reproducibly.,
guix-commits <=