diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-08-25 00:16:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-08-25 00:16:49 +0200 |
commit | c6df09941b9fb225788e9efa276b7aa92e19d3c0 (patch) | |
tree | cc23035709113272f728a94d58f1768810cfce2d /srfi | |
parent | bcac69f674ce1525c263632ba796297b850b5147 (diff) | |
download | guix-patches-c6df09941b9fb225788e9efa276b7aa92e19d3c0.tar guix-patches-c6df09941b9fb225788e9efa276b7aa92e19d3c0.tar.gz |
guix-register: By default, attempt to deduplicate registered items.
* nix/guix-register/guix-register.cc (GUIX_OPT_DEDUPLICATE): New macro.
(options): Add --no-deduplication.
(deduplication): New variable.
(parse_opt): Handle GUIX_OPT_DEDUPLICATE.
(register_validity): Add 'optimize' parameter and honor it.
(main): Move 'store' instanatiation after 'settings.nixStore'
assignment.
* tests/guix-register.sh: Add test for deduplication.
* guix/nar.scm (finalize-store-file): Update comment above
'register-path' call.
Diffstat (limited to 'srfi')
0 files changed, 0 insertions, 0 deletions