Subject: [bug#66129] [PATCH 00/20] Split SuiteSparse into subpackages

From: Ludovic Courtès <[email-masked]>
Date: Thu, 05 Oct 2023 16:09:39 +0200

Ludovic Courtès <[email-masked]> skribis:

>   (define (suitesparse-package-source name directory)
>     (computed-file (string-append name "-" suitesparse-version ".tar.xz")
>                    (with-imported-modules '((guix build utils))
>                      #~(begin
>                          (use-modules (guix build utils))
>                          (copy-recursively
>                           (string-append #$suitesparse-src "/" #$directory)
>                                          #$output)))))

Now that I think about it, we might just as well keep the same source
for each sub-package along with a phase that does (chdir DIR).

The advantage is that we would not spend CPU time and storage space
building one tarball per package.  The downside is that it might make
package definitions less concise.

Your call!

Ludo’.