guix: remove githash.txt

This commit is contained in:
tobtoht
2025-02-21 12:59:03 +01:00
parent e66886832a
commit 22ce2011a7
+1 -3
View File
@@ -246,9 +246,7 @@ GIT_ARCHIVE="${DIST_ARCHIVE_BASE}/${DISTNAME}.tar.gz"
# Create the source tarball if not already there
if [ ! -e "$GIT_ARCHIVE" ]; then
mkdir -p "$(dirname "$GIT_ARCHIVE")"
git rev-parse --short=12 HEAD > githash.txt
( git ls-files --recurse-submodules ; echo "githash.txt" ) \
| cat \
git ls-files --recurse-submodules \
| sort \
| tar --create --transform "s,^,${DISTNAME}/," --mode='u+rw,go+r-w,a+X' --files-from=- \
| gzip -9n > ${GIT_ARCHIVE}