diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-10 21:42:02 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-15 17:32:11 +0100 |
commit | 0793833c59e727d5d471fe46c8e0e44c811b9621 (patch) | |
tree | b8dd7d4ab27051e8a24299ffab3fc84091df488a /gnu/build | |
parent | 2aa512ec2843991804b5bf345c80abdb2b993bdc (diff) | |
download | guix-0793833c59e727d5d471fe46c8e0e44c811b9621.tar.gz |
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.
Diffstat (limited to 'gnu/build')
-rw-r--r-- | gnu/build/image.scm | 1 | ||||
-rw-r--r-- | gnu/build/vm.scm | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/gnu/build/image.scm b/gnu/build/image.scm index 8d5fc603d9..f6e5cb42f6 100644 --- a/gnu/build/image.scm +++ b/gnu/build/image.scm @@ -151,7 +151,6 @@ produced by #:references-graphs. Pass WAL-MODE? to call-with-database." #:wal-mode? wal-mode? (register-items db items #:prefix prefix - #:deduplicate? #f #:registration-time %epoch))))) (define* (initialize-efi-partition root diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 8c6ab648ac..bd59916bf3 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -224,7 +224,6 @@ produced by #:references-graphs." (with-database (store-database-file #:prefix prefix) db (register-items db items #:prefix prefix - #:deduplicate? #f #:registration-time %epoch))))) |