Subject: Re: bug#68242: [core-updates] Compress man pages using zstd

From: Ludovic Courtès <[email-masked]>
Date: Mon, 08 Jan 2024 18:30:28 +0100

Maxim Cournoyer <[email-masked]> skribis:

> * guix/man-db.scm (<mandb-entry>): Adjust comment.
> (abbreviate-file-name): Adjust regexp.
> (gz-compressed?, zstd-compressed?): New predicates.
> (entry->string): Use them.
> (man-page->entry): Adjust doc.  Use input port reader appropriate to the
> compression type, if any.
> (man-files): Adjust regexp.
> (mandb-entries): Adjust link resolving predicate.
> * guix/profiles.scm (manual-database): Add guile-zlib extension.
>
> Change-Id: I6336e46e2d324c520a7d15d6cafd12bbf43c5b09

[...]

>  (define-module (guix man-db)
>    #:use-module (zlib)
> +  #:use-module (zstd)

Maybe #:autoload both modules for good measure.

Otherwise LGTM, thanks!

Ludo’.