~ruther/guix-local

a874d44053b01b1dfd0e0a2cea5594d0b849175a — Ricardo Wurmus 2 years ago afe677a
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
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/statistics.scm
M gnu/packages/statistics.scm => gnu/packages/statistics.scm +6 -1
@@ 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"))