diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-01-15 14:07:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-01-18 15:55:14 +0100 |
commit | f41ff53293a61466acd6bccc1f0a7a9c9d588e4b (patch) | |
tree | 1ef392b1cc133b04bbee9db79720bac65348caea /tests/guix-pack-relocatable.sh | |
parent | 812a2931de553d12c01b0a4d53d03613b09adaaf (diff) | |
download | guix-f41ff53293a61466acd6bccc1f0a7a9c9d588e4b.tar.gz guix-f41ff53293a61466acd6bccc1f0a7a9c9d588e4b.zip |
packages: 'patch-and-repack' returns a directory when given a directory.
Previously, 'patch-and-repack' would always create a tar.xz archive as a
result, even if the input was a directory (a checkout). This change
reduces gratuitous CPU and storage overhead.
* guix/packages.scm (patch-and-repack)[tarxz-name]: Remove 'checkout?' case.
[build](repack): New procedure, with "tar" invocation formerly at the
top level.
If SOURCE is a directory, call 'copy-recursively'; otherwise, call
'repack'.
Change NAME to ORIGINAL-FILE-NAME when it matches 'checkout?'.
Diffstat (limited to 'tests/guix-pack-relocatable.sh')
0 files changed, 0 insertions, 0 deletions