diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-10 13:47:58 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-10 13:47:58 +0200 |
commit | 369755847b942806efe710b88146311849046017 (patch) | |
tree | d0b727384c489395be8ff34b2a4de524ecb492a0 /guix/gcrypt.scm | |
parent | 4ae1fe14b90dba3b3394852079783ca43272a675 (diff) | |
download | guix-patches-369755847b942806efe710b88146311849046017.tar guix-patches-369755847b942806efe710b88146311849046017.tar.gz |
guix-register: Perform deduplication even when --prefix is passed.
Fixes <http://bugs.gnu.org/19044>.
* nix/guix-register/guix-register.cc (register_validity): Change the (optimize
&& prefix.empty ()) condition to just (optimize). Change settings.nixStore
around the loop. Prepend PREFIX to the argument passed to 'optimisePath'.
* tests/guix-register.sh: Use 'guix-register -p' with duplicate files, and
make sure they are deduplicated on the target. Adjust existing tests.
Diffstat (limited to 'guix/gcrypt.scm')
0 files changed, 0 insertions, 0 deletions