me
/
guix
Archived
1
0
Fork 0

gnu: r-with-tests: Prevent compression of libraries.

Compression prevents Guix from detecting references.
This is a follow-up to commit ff0d34a29b.

Reported-by: Jonas Freimuth.

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

Change-Id: I278d19c1504d8ac33a1fc4a941467705a37d574d
master
Ricardo Wurmus 2024-01-30 12:52:12 +01:00
parent afe677a623
commit a874d44053
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 1 deletions

View File

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