me
/
guix
Archived
1
0
Fork 0

gnu: purescript: Drop Haskell libraries and documentation.

* gnu/packages/purescript.scm (purescript)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
Lars-Dominik Braun 2023-01-29 19:00:31 +01:00
parent 7996bd3955
commit 169237aae5
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 5 additions and 1 deletions

View File

@ -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