guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: r-with-tests: Prevent compression of libraries.


From: guix-commits
Subject: 02/03: gnu: r-with-tests: Prevent compression of libraries.
Date: Tue, 30 Jan 2024 09:17:01 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit a874d44053b01b1dfd0e0a2cea5594d0b849175a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 30 12:52:12 2024 +0100

    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
---
 gnu/packages/statistics.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]