all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59073] [PATCH] gnu: r-minimal: Avoid referencing /gnu/store/[^-]+-glibc-[^-]+-static.
@ 2022-11-06  9:05 Christopher Baines
  2022-11-07  9:27 ` zimoun
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Christopher Baines @ 2022-11-06  9:05 UTC (permalink / raw)
  To: 59073

As this causes the following error when computing a cross-compilation
derivation for r-minimal and related packages.

I think this is coming from the string appearing in the sources section of the
derivation, but not being a valid store path.

* gnu/packages/statistics.scm (r-minimal)[arguments]: Split string involving
/gnu/store.
---
 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")) ""))))))))))))
 
 (define-public rmath-standalone
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-11  9:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-06  9:05 [bug#59073] [PATCH] gnu: r-minimal: Avoid referencing /gnu/store/[^-]+-glibc-[^-]+-static Christopher Baines
2022-11-07  9:27 ` zimoun
2022-11-07  9:32   ` Christopher Baines
2022-11-07 14:10     ` zimoun
2022-11-07 21:36 ` Ludovic Courtès
2022-11-08  7:13   ` Christopher Baines
2022-11-08 13:09     ` Ludovic Courtès
2022-11-08 21:32       ` zimoun
2022-11-10 14:07         ` Ludovic Courtès
2022-11-10 14:40           ` zimoun
2022-11-08  7:13 ` [bug#59073] [PATCH v2] " Christopher Baines

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.