database: Remove #:deduplicate? and #:reset-timestamps? from 'register-path'.

* guix/store/database.scm (register-path): Remove #:deduplicate?
and #:reset-timestamps?.
* guix/scripts/system.scm (copy-item): Adjust accordingly.
* tests/store-database.scm ("register-path")
("register-path, directory"): Call 'reset-timestamps'.
This commit is contained in:
Ludovic Courtès 2020-12-11 12:03:25 +01:00
parent cd6c5ddfc8
commit 0682cc5936
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 6 additions and 22 deletions

View file

@ -158,11 +158,7 @@ REFERENCES as its set of references."
(unless (register-path item
#:prefix target
#:state-directory state
#:references references
;; Those are taken care of by 'copy-store-item'.
#:reset-timestamps? #f
#:deduplicate? #f)
#:references references)
(leave (G_ "failed to register '~a' under '~a'~%")
item target))))