From 4c0449ba8fc0934665de730e660dcb18365ec70a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 22 Nov 2022 21:44:29 +0100 Subject: gnu: r-minimal: Simplify build phase. * gnu/packages/statistics.scm (r-minimal)[arguments]: Simplify phase "remove-extraneous-references". --- gnu/packages/statistics.scm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index caae27b0f9..6196d6bd69 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -452,26 +452,20 @@ available, greatly increasing its breadth and scope.") (substitute* (string-append out "/lib/R/bin/libtool") (((string-append "(-L)?(" - (assoc-ref inputs "bzip2") - "|" - (assoc-ref inputs "perl") - "|" - (assoc-ref inputs "texlive-bin") - "|" - (assoc-ref inputs "texinfo") - "|" - (assoc-ref inputs "xz") - "|" (format #false "~a/[^-]+-(~{~a~^|~})-[^/]+" (%store-directory) - '("glibc-utf8-locales" + '("bzip2" + "file" + "glibc-utf8-locales" + "graphite2" "libselinux" "libsepol" - "file" + "perl" + "texinfo" "texlive-bin" "util-macros" - "graphite2")) + "xz")) "|" (format #false "~a/[^-]+-glibc-[^-]+-static" (%store-directory)) -- cgit v1.2.3