guix-commits
[Top][All Lists]
Advanced

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

05/12: gnu: ngless: Drop Haskell libraries and documentation.


From: guix-commits
Subject: 05/12: gnu: ngless: Drop Haskell libraries and documentation.
Date: Sun, 29 Jan 2023 13:06:04 -0500 (EST)

lbraun pushed a commit to branch wip-haskell
in repository guix.

commit c532cbb83a74b34375d0d9cd5e8ee50ed2b5bdc9
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 29 18:52:58 2023 +0100

    gnu: ngless: Drop Haskell libraries and documentation.
    
    * gnu/packages/bioinformatics.scm (ngless)[arguments]: Add
    'remove-libraries phase and disable #:haddock?.
---
 gnu/packages/bioinformatics.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3e2d1efc87..8eb164d24b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14316,7 +14316,8 @@ datasets.")
                 "0pljyrlpr9r3cl5311dhgxdl8y40szyi4vprn34i3piy0qrldymi"))))
     (build-system haskell-build-system)
     (arguments
-     `(#:phases
+     `(#:haddock? #f
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'update-constraints
            (lambda _
@@ -14360,7 +14361,10 @@ datasets.")
           (add-after 'wrap-program 'check-install
              (lambda* (#:key outputs #:allow-other-keys)
                (let* ((ngless (string-append (assoc-ref outputs "out") 
"/bin/ngless")))
-                 (invoke ngless "--check-install")))))))
+                 (invoke ngless "--check-install"))))
+          (add-after 'register 'remove-libraries
+            (lambda* (#:key outputs #:allow-other-keys)
+              (delete-file-recursively (string-append (assoc-ref outputs 
"out") "/lib")))))))
     (inputs (list prodigal
                   bwa
                   samtools



reply via email to

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