From 169237aae530bff4c7322dec863d2189879a0af6 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 29 Jan 2023 19:00:31 +0100 Subject: 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(-) (limited to 'gnu/packages/purescript.scm') 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 -- cgit v1.2.3 guix/commit/tests/import-utils.scm?id=db1adb424217999d7f51daa7798c521edb66ad40'>commitdiff
path: root/tests/import-utils.scm
AgeCommit message (Expand)Author
2019-07-25maint: Switch to Guile-JSON 3.x....Ludovic Courtès
2018-02-16import: utils: 'alist->package' allows false license....Ludovic Courtès
2017-10-06import: Use a 'file://' URL in 'alist->package' test....Ludovic Courtès
2017-09-28import: Add generic data to package converter....Ricardo Wurmus
2016-09-28import: utils: Refactor license->symbol....David Craven
2016-04-03build: Add a Guile custom test driver using SRFI-64....Mathieu Lirzin
2016-01-20tests: Move beatify-description tests to import-tests....Ben Woodcroft