summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2017-02-01 12:08:45 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-02-02 15:20:50 +0100
commitde643f0c15677665acce73db9c28c5488e623633 (patch)
treedf1e099dfbe03717256f3f76c9073179e728425a
parent8f8d39b30c7c3d4a826af8673dae12def7404077 (diff)
downloadguix-de643f0c15677665acce73db9c28c5488e623633.tar.gz
build: r-build-system: Use deterministic built date.
Fixes <http://bugs.gnu.org/25598>.

* guix/build/r-build-system.scm (install): Pass "--built-timestamp" option to
make build deterministic.
-rw-r--r--guix/build/r-build-system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/r-build-system.scm b/guix/build/r-build-system.scm
index 3fc13eb835..24aa73d4f2 100644
--- a/guix/build/r-build-system.scm
+++ b/guix/build/r-build-system.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -84,6 +84,7 @@
          (params       (append configure-flags
                                (list "--install-tests"
                                      (string-append "--library=" site-library)
+                                     "--built-timestamp=1970-01-01"
                                      ".")))
          (site-path    (string-append site-library ":"
                                       (generate-site-path inputs))))