guix-commits
[Top][All Lists]
Advanced

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

branch wip-r updated: gnu: pigx-scrnaseq: Fix build.


From: guix-commits
Subject: branch wip-r updated: gnu: pigx-scrnaseq: Fix build.
Date: Sat, 28 May 2022 18:31:00 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch wip-r
in repository guix.

The following commit(s) were added to refs/heads/wip-r by this push:
     new b64f4a1245 gnu: pigx-scrnaseq: Fix build.
b64f4a1245 is described below

commit b64f4a12451062d7436a0463e6c50d1cef4a75ac
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun May 29 00:29:19 2022 +0200

    gnu: pigx-scrnaseq: Fix build.
    
    * gnu/packages/bioinformatics.scm (pigx-scrnaseq)[arguments]: Add autoreconf
    step to work around m4 macro bug and missing VERSION file.
    [native-inputs]: Add autoconf and automake.
---
 gnu/packages/bioinformatics.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ced3b642e9..1b118908da 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11258,8 +11258,20 @@ methylation and segmentation.")
                 "1lc42hl8mz95kilh0z39s3wnv092mhm6vl2i394n0yfvdzk4f885"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
+         (add-before 'bootstrap 'autoreconf
+           (lambda _
+             ;; This was fixed in commit
+             ;; c4ac067438ae9312b5786a72e2bfb3d795e3ec8a, but there is no
+             ;; release with this fix.
+             (call-with-output-file "VERSION"
+               (lambda (port) (display ,version port)))
+             ;; https://github.com/BIMSBbioinfo/pigx_scrnaseq/issues/59
+             (substitute* "m4/ax_r_package.m4"
+               (("if\\(is.na\\(packageDescription\\(\"PKG\"\\)\\)\\)")
+                "if(system.file(package=\"PKG\") == \"\")"))
+             (invoke "autoreconf" "-vif")))
          (add-before 'configure 'set-additional-environment-variables
            (lambda _
              ;; Needed because of loompy
@@ -11308,6 +11320,8 @@ methylation and segmentation.")
            r-singlecellexperiment
            r-stringr
            r-yaml))
+    (native-inputs
+     (list autoconf automake))
     (home-page "https://bioinformatics.mdc-berlin.de/pigx/";)
     (synopsis "Analysis pipeline for single-cell RNA sequencing experiments")
     (description



reply via email to

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