diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-08 00:00:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-14 11:17:00 +0200 |
commit | eb9fe97495c012c989f76cb42a14cd78f9d94629 (patch) | |
tree | ce11f490e68bd8310d5e9a974ccc35667db53aae /gnu/build/install.scm | |
parent | 078c2329c0ffc88ac8e334fcea5e025ee6410e62 (diff) | |
download | patches-eb9fe97495c012c989f76cb42a14cd78f9d94629.tar patches-eb9fe97495c012c989f76cb42a14cd78f9d94629.tar.gz |
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/install.scm')
-rw-r--r-- | gnu/build/install.scm | 1 |
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 |