* [bug#57710] [PATCH] gnu: ghc-alex: Use G-expressions.
@ 2022-09-09 19:41 jgart via Guix-patches via
2022-09-12 13:28 ` bug#57710: " Christopher Baines
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2022-09-09 19:41 UTC (permalink / raw)
To: 57710; +Cc: jgart
* gnu/packages/containers.scm (ghc-alex)[arguments]: Use G-expressions.
[arguments]: Remove trailing booleans.
---
gnu/packages/haskell-xyz.scm | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 85291896cc..9ebe3fd6ff 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -30,6 +30,7 @@
;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2021, 2022 Alice BRENON <alice.brenon@ens-lyon.fr>
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -75,6 +76,7 @@ (define-module (gnu packages haskell-xyz)
#:use-module (gnu packages xorg)
#:use-module (guix build-system haskell)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
@@ -297,14 +299,13 @@ (define-public ghc-alex
"042lrkn0dbpjn5ivj6j26jzb1fwrj8c1aj18ykxja89isg0hiali"))))
(build-system haskell-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-check-variables
- (lambda _
- (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
- (getenv "PATH")))
- (setenv "alex_datadir" (string-append (getcwd) "/data"))
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-check-variables
+ (lambda _
+ (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
+ (getenv "PATH")))
+ (setenv "alex_datadir" (string-append (getcwd) "/data")))))))
(inputs (list ghc-quickcheck))
(native-inputs
(list which))
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#57710: [PATCH] gnu: ghc-alex: Use G-expressions.
2022-09-09 19:41 [bug#57710] [PATCH] gnu: ghc-alex: Use G-expressions jgart via Guix-patches via
@ 2022-09-12 13:28 ` Christopher Baines
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-09-12 13:28 UTC (permalink / raw)
To: jgart; +Cc: 57710-done
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
jgart via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/containers.scm (ghc-alex)[arguments]: Use G-expressions.
> [arguments]: Remove trailing booleans.
> ---
> gnu/packages/haskell-xyz.scm | 17 +++++++++--------
> 1 file changed, 9 insertions(+), 8 deletions(-)
Thanks, I've pushed this to master as
25d88eb9f3e22816180c099502a3a919bbe602f6.
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-12 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 19:41 [bug#57710] [PATCH] gnu: ghc-alex: Use G-expressions jgart via Guix-patches via
2022-09-12 13:28 ` bug#57710: " Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).