diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-03 13:43:45 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:23 +0200 |
| commit | e00c82f1a2dd15030d745ca8e237bd96b46d76a1 (patch) | |
| tree | d64bd7b68d02b597fbc20ea3dbe99c48f9fdaaa0 | |
| parent | 7dbb922ee5d7fea2c008a2c238c1a19414839825 (diff) | |
gnu: r-acme: Fix build with gcc-14.
* gnu/packages/bioconductor.scm (r-acme)[arguments]: New field to relax
gcc-14's strictness.
Change-Id: Ib71324b6ac3d475bcdd9cd4bc868acb680122eba
| -rw-r--r-- | gnu/packages/bioconductor.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 577f1d9779b..649e9be4221 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2021 Nicolas Vallet <nls.vallet@gmail.com> ;;; Copyright © 2023 Navid Afkhami <Navid.Afkhami@mdc-berlin.de> ;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com> +;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -23245,6 +23246,23 @@ printing and plotting @code{aCGH} objects.") "1s1s00b6mrv710x14vnscs99iinqq5pml684vpgbshlvszzyw71h")))) (properties `((upstream-name . "ACME"))) (build-system r-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'relax-gcc-14-strictness + (lambda _ + ;; XXX FIXME: $HOME/.R/Makevars seems to be the only way to + ;; set custom CFLAGS for R? + (setenv "HOME" (getcwd)) + (mkdir-p ".R") + (with-directory-excursion ".R" + (with-output-to-file "Makevars" + (lambda _ + (display + (string-append + "CFLAGS=-g -O2" + " -Wno-error=incompatible-pointer-types\n")))))))))) (propagated-inputs (list r-biobase r-biocgenerics)) (home-page "https://bioconductor.org/packages/aCGH/") (synopsis "Calculating microarray enrichment") |
