summary refs log tree commit diff
path: root/build-aux/build-self.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-01-15 14:07:21 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-18 15:55:14 +0100
commitf41ff53293a61466acd6bccc1f0a7a9c9d588e4b (patch)
tree1ef392b1cc133b04bbee9db79720bac65348caea /build-aux/build-self.scm
parent812a2931de553d12c01b0a4d53d03613b09adaaf (diff)
downloadguix-f41ff53293a61466acd6bccc1f0a7a9c9d588e4b.tar.gz
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 'build-aux/build-self.scm')
0 files changed, 0 insertions, 0 deletions