Subject: Re: [bug#59073] [PATCH] gnu: r-minimal: Avoid referencing /gnu/store/[^-]+-glibc-[^-]+-static.

From: zimoun <[email-masked]>
Date: Mon, 07 Nov 2022 10:27:34 +0100

Hi,

On dim., 06 nov. 2022 at 10:05, Christopher Baines <[email-masked]> wrote:

> * gnu/packages/statistics.scm (r-minimal)[arguments]: Split string involving
> /gnu/store.

It would imply rebuild many packages, no?  master, staging or
core-updates?

> ---
>  gnu/packages/statistics.scm | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index 2d4dbe4a31..43988ad00e 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -470,7 +470,11 @@ (define-public r-minimal
>                                      "util-macros"
>                                      "graphite2"))
>                            "|"
> -                          "/gnu/store/[^-]+-glibc-[^-]+-static"
> +                          ;; Be careful when including store paths in the
> +                          ;; build script, since they might be treated as
> +                          ;; references
> +                          "/gnu/store"
> +                          "/[^-]+-glibc-[^-]+-static"
>                            ")/lib")) ""))))))))))))

LGTM.

Cheers,
simon