summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-01-30 12:52:12 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-01-30 15:16:20 +0100
commita874d44053b01b1dfd0e0a2cea5594d0b849175a (patch)
tree5cd55ca4e5e490fe99fa381b71086f0feb4557ea
parentafe677a623f3ede51f3bb9be121de3d8ff0ea36e (diff)
downloadguix-a874d44053b01b1dfd0e0a2cea5594d0b849175a.tar.gz
gnu: r-with-tests: Prevent compression of libraries.
Compression prevents Guix from detecting references.
This is a follow-up to commit ff0d34a29bc0f19b1dd2714fc0a3bd73a244aebe.

Reported-by: Jonas Freimuth.

* gnu/packages/statistics.scm (r-with-tests)[arguments]: Do not compress
included libraries like "parallel".

Change-Id: I278d19c1504d8ac33a1fc4a941467705a37d574d
-rw-r--r--gnu/packages/statistics.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e1c3aec0cb..6b2d7ac021 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -241,7 +241,12 @@ This package also provides @command{xls2csv} to export Excel files to CSV.")
               ;; This ensures that Guix can detect embedded store references;
               ;; see bug #28157 for details.
               (substitute* "src/library/base/makebasedb.R"
-                (("compress = TRUE") "compress = FALSE"))))
+                (("compress = TRUE") "compress = FALSE"))
+              (substitute* '("src/library/tools/Makefile.in"
+                             "share/make/basepkg.mk"
+                             "share/make/lazycomp.mk")
+                (("makeLazyLoading\\(")
+                 "makeLazyLoading(compress=FALSE,"))))
           (add-before 'configure 'patch-coreutils-paths
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((uname-bin (search-input-file inputs "/bin/uname"))