mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
078c2329c0
commit
eb9fe97495
2 changed files with 17 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue