guix-commits
[Top][All Lists]
Advanced

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

23/31: gnu: ngless: Drop Haskell libraries and documentation.


From: guix-commits
Subject: 23/31: gnu: ngless: Drop Haskell libraries and documentation.
Date: Sun, 26 Feb 2023 04:44:38 -0500 (EST)

lbraun pushed a commit to branch master
in repository guix.

commit baf9e0a33685eea208132f374df6756dc2aaf89c
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 2b20191bb3..9e8f7e92f8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14832,7 +14832,8 @@ datasets.")
                 "0pljyrlpr9r3cl5311dhgxdl8y40szyi4vprn34i3piy0qrldymi"))))
     (build-system haskell-build-system)
     (arguments
-     `(#:phases
+     `(#:haddock? #f
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'update-constraints
            (lambda _
@@ -14876,7 +14877,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]