Archived
1
0
Fork 0

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.
This commit is contained in:
Ricardo Wurmus 2022-11-22 21:43:29 +01:00
parent eeeca2341d
commit a8082fefe0
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -463,7 +463,8 @@ available, greatly increasing its breadth and scope.")
(assoc-ref inputs "xz") (assoc-ref inputs "xz")
"|" "|"
(format #false (format #false
"/gnu/store/[^-]+-(~{~a~^|~})-[^/]+" "~a/[^-]+-(~{~a~^|~})-[^/]+"
(%store-directory)
'("glibc-utf8-locales" '("glibc-utf8-locales"
"libselinux" "libselinux"
"libsepol" "libsepol"
@ -472,7 +473,8 @@ available, greatly increasing its breadth and scope.")
"util-macros" "util-macros"
"graphite2")) "graphite2"))
"|" "|"
"/gnu/store/[^-]+-glibc-[^-]+-static" (format #false "~a/[^-]+-glibc-[^-]+-static"
(%store-directory))
")/lib")) "")))))))))))) ")/lib")) ""))))))))))))
(define-public rmath-standalone (define-public rmath-standalone