mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
database: Remove #:deduplicate? from 'register-items'.
It is now up to the caller to deduplicate store contents. * guix/store/database.scm (register-items): Remove #:deduplicate? parameter and call to 'deduplicate'. (register-path): Call 'deduplicate' when #:deduplicate? is true. * gnu/build/image.scm (register-closure): Adjust call accordingly. * gnu/build/vm.scm (register-closure): Likewise. * guix/nar.scm (finalize-store-file): Likewise. * guix/scripts/pack.scm (store-database): Likewise.
This commit is contained in:
parent
2aa512ec28
commit
0793833c59
5 changed files with 7 additions and 10 deletions
|
@ -118,8 +118,7 @@ held."
|
|||
;; Register TARGET. The 'restore-file' call took care of
|
||||
;; deduplication, timestamps, and permissions.
|
||||
(register-items db
|
||||
(list (store-info target deriver references))
|
||||
#:deduplicate? #f))
|
||||
(list (store-info target deriver references))))
|
||||
|
||||
(when lock?
|
||||
(delete-file (string-append target ".lock"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue