guix-commits
[Top][All Lists]
Advanced

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

11/12: gnu: purescript: Drop Haskell libraries and documentation.


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

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

commit 61c39ba87d2f03281bf537f90f6be913d6c93851
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 29 19:00:31 2023 +0100

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

diff --git a/gnu/packages/purescript.scm b/gnu/packages/purescript.scm
index d968a6f0e6..0a5eccc459 100644
--- a/gnu/packages/purescript.scm
+++ b/gnu/packages/purescript.scm
@@ -99,13 +99,17 @@
      `(;; Tests require npm
        #:tests? #f
        #:configure-flags '("--flags=release")
+       #:haddock? #f
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'update-constraints
            (lambda _
              (substitute* "purescript.cabal"
                (("\\b(language-javascript|process)\\s+[^,]+" all dep)
-                dep)))))))
+                dep))))
+         (add-after 'register 'remove-libraries
+           (lambda* (#:key outputs #:allow-other-keys)
+             (delete-file-recursively (string-append (assoc-ref outputs "out") 
"/lib")))))))
     (home-page "https://www.purescript.org/";)
     (synopsis "Haskell inspired programming language compiling to JavaScript")
     (description



reply via email to

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