summaryrefslogtreecommitdiff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-08 00:00:47 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-14 11:17:00 +0200
commiteb9fe97495c012c989f76cb42a14cd78f9d94629 (patch)
treece11f490e68bd8310d5e9a974ccc35667db53aae /gnu/build
parent078c2329c0ffc88ac8e334fcea5e025ee6410e62 (diff)
database: Allow for deterministic database construction.
Fixes <https://bugs.gnu.org/21073>. * guix/store/database.scm (sqlite-register): Add #:time. (%epoch): New variable. (register-items): Add #:registration-time. Pass #:time to 'sqlite-register'. * gnu/build/install.scm (register-closure): Pass #:registration-time.
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/install.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index 5e84cd6f69..06ecb39952 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -158,6 +158,7 @@ deduplicates files common to CLOSURE and the rest of PREFIX."
#:prefix prefix
#:deduplicate? deduplicate?
#:reset-timestamps? reset-timestamps?
+ #:registration-time %epoch
#:schema schema)))
(define* (populate-single-profile-directory directory