Calculating the tarsum after creating a layer is inefficient, since
we have to read the tarball we've just written from the disk.
This commit simultaneously calculates the tarsum while creating the
tarball.
Appending to an existing tar archive repeatedly seems to be a quadratic
operation, since tar seems to traverse the existing archive even using
the `-r, --append` flag. This commit avoids that by passing the list of
files to a single tar invocation.
* kakoune: Prefix version with 'v' (#50617)
Turns out there's some tooling parsing the version number and having a
'v' prefix works better in that case.
I tested that it builds & works fine on NixOS.
See: https://github.com/ul/kak-lsp/issues/99
* Override 'version' env variable