build-systems/gnu: Add compressor file extension to symbolic links.
Otherwise man and info readers are not able to read their content as they rely on the file extension to detect if compression is used. * guix/build/gnu-build-system.scm (compress-documentation) [retarget-symlink]: Append the compressor file extension to the link file name.
This commit is contained in:
parent
067f28a7d7
commit
7f80cc8102
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ DOCUMENTATION-COMPRESSOR-FLAGS."
|
|||
(let ((target (readlink link)))
|
||||
(delete-file link)
|
||||
(symlink (string-append target compressed-documentation-extension)
|
||||
link)))
|
||||
(string-append link compressed-documentation-extension))))
|
||||
|
||||
(define (has-links? file)
|
||||
;; Return #t if FILE has hard links.
|
||||
|
|
Reference in a new issue