Skip to content

Commit 3f7b3e6

Browse files
authored
compress-man-pages: don't leak build timestamp into archive (#435295)
2 parents 3549480 + 4108382 commit 3f7b3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/build-support/setup-hooks/compress-man-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ compressManPages() {
1111
# Compress all uncompressed manpages. Don't follow symlinks, etc.
1212
# gzip -f is needed to not error out on hard links.
1313
find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \
14-
| xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -f
14+
| xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -n -f
1515

1616
# Point symlinks to compressed manpages.
1717
find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \

0 commit comments

Comments
 (0)