mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: purescript: Drop Haskell libraries and documentation.
* gnu/packages/purescript.scm (purescript)[arguments]: Add 'remove-libraries phase and disable #:haddock?.
This commit is contained in:
parent
7996bd3955
commit
169237aae5
1 changed files with 5 additions and 1 deletions
|
@ -99,13 +99,17 @@ (define-public purescript
|
|||
`(;; 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
|
||||
|
|
Loading…
Reference in a new issue