summary refs log tree commit diff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-11-22 21:43:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-11-24 12:32:10 +0100
commita8082fefe01ee2694888e61311889fe553387823 (patch)
tree8e93febd540f5d138cff9acb65f5edc3f8793537 /gnu/packages/statistics.scm
parenteeeca2341d76a71951773245b279cc89025441c7 (diff)
downloadguix-a8082fefe01ee2694888e61311889fe553387823.tar.gz
gnu: r-minimal: Use %store-directory instead of /gnu/store.
* gnu/packages/statistics.scm (r-minimal)[arguments]: Use %store-directory
instead of hard-coding "/gnu/store" prefix.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 75f19de4f3..caae27b0f9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -463,7 +463,8 @@ available, greatly increasing its breadth and scope.")
                           (assoc-ref inputs "xz")
                           "|"
                           (format #false
-                                  "/gnu/store/[^-]+-(~{~a~^|~})-[^/]+"
+                                  "~a/[^-]+-(~{~a~^|~})-[^/]+"
+                                  (%store-directory)
                                   '("glibc-utf8-locales"
                                     "libselinux"
                                     "libsepol"
@@ -472,7 +473,8 @@ available, greatly increasing its breadth and scope.")
                                     "util-macros"
                                     "graphite2"))
                           "|"
-                          "/gnu/store/[^-]+-glibc-[^-]+-static"
+                          (format #false "~a/[^-]+-glibc-[^-]+-static"
+                                  (%store-directory))
                           ")/lib")) ""))))))))))))
 
 (define-public rmath-standalone