From a8082fefe01ee2694888e61311889fe553387823 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 22 Nov 2022 21:43:29 +0100 Subject: 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. --- gnu/packages/statistics.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/statistics.scm') 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 -- cgit 1.4.1