[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: gnu: purescript: Use G-expressions.
From: |
guix-commits |
Subject: |
02/13: gnu: purescript: Use G-expressions. |
Date: |
Fri, 21 Jul 2023 21:26:24 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit bf767b2907df62e446cc26e599c30e7e6e11b86d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:01 2023 +0200
gnu: purescript: Use G-expressions.
* gnu/packages/purescript.scm (purescript)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/purescript.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/purescript.scm b/gnu/packages/purescript.scm
index 75633895e6..ef58ecbf82 100644
--- a/gnu/packages/purescript.scm
+++ b/gnu/packages/purescript.scm
@@ -26,6 +26,7 @@
#:use-module (gnu packages haskell-web)
#:use-module ((gnu packages python) #:select (python))
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system haskell)
@@ -96,21 +97,23 @@
ghc-typed-process
ghc-happy))
(arguments
- `(;; Tests require npm
- #:tests? #f
- #:configure-flags '("--flags=release")
+ (list
+ ;; Tests require npm
+ #:tests? #f
+ #:configure-flags
+ #~(list "--flags=release")
#:haddock? #f
#:phases
- (modify-phases %standard-phases
+ #~(modify-phases %standard-phases
(add-before 'configure 'update-constraints
(lambda _
(substitute* "purescript.cabal"
(("\\b(language-javascript|process)\\s+[^,]+" all dep)
dep))))
(add-after 'register 'remove-libraries
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda _
(delete-file-recursively
- (string-append (assoc-ref outputs "out") "/lib")))))))
+ (string-append #$output "/lib")))))))
(home-page "https://www.purescript.org/")
(synopsis "Haskell inspired programming language compiling to JavaScript")
(description
- branch master updated (eb12f3fd8b -> b56fe521de), guix-commits, 2023/07/21
- 04/13: gnu: gallery-dl: Update to 1.25.8., guix-commits, 2023/07/21
- 08/13: gnu: mygui: Update to 3.4.2., guix-commits, 2023/07/21
- 03/13: gnu: qtractor: Update to 0.9.34., guix-commits, 2023/07/21
- 09/13: gnu: cryfs: Update to 0.11.4., guix-commits, 2023/07/21
- 05/13: gnu: osinfo-db: Update to 20230719., guix-commits, 2023/07/21
- 12/13: gnu: openssh: Remove input labels., guix-commits, 2023/07/21
- 02/13: gnu: purescript: Use G-expressions.,
guix-commits <=
- 01/13: gnu: purescript: Update to 0.15.10., guix-commits, 2023/07/21
- 06/13: gnu: osinfo-db: Use G-expressions., guix-commits, 2023/07/21
- 13/13: gnu: openssh: Use G-expressions., guix-commits, 2023/07/21
- 07/13: gnu: labwc: Update to 0.6.4., guix-commits, 2023/07/21
- 10/13: gnu: gitolite: Update to 3.6.13., guix-commits, 2023/07/21
- 11/13: gnu: openssh: Update to 9.3p2., guix-commits, 2023/07/21