compress-man-pages: don't leak build timestamp into archive (#435295)

authored by

Arnout Engelen and committed by
GitHub
3f7b3e6c 3549480a

+1 -1
+1 -1
pkgs/build-support/setup-hooks/compress-man-pages.sh
··· 11 # Compress all uncompressed manpages. Don't follow symlinks, etc. 12 # gzip -f is needed to not error out on hard links. 13 find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ 14 - | xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -f 15 16 # Point symlinks to compressed manpages. 17 find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \
··· 11 # Compress all uncompressed manpages. Don't follow symlinks, etc. 12 # gzip -f is needed to not error out on hard links. 13 find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ 14 + | xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -n -f 15 16 # Point symlinks to compressed manpages. 17 find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \