guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: ghc-alex: Use G-expressions.


From: guix-commits
Subject: 01/05: gnu: ghc-alex: Use G-expressions.
Date: Mon, 12 Sep 2022 09:26:11 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 0a982a19bf82aa9137e598df8292015de29429bb
Author: jgart <jgart@dismail.de>
AuthorDate: Fri Sep 9 14:41:16 2022 -0500

    gnu: ghc-alex: Use G-expressions.
    
    * gnu/packages/containers.scm (ghc-alex)[arguments]: Use G-expressions.
    [arguments]: Remove trailing booleans.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 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 43eb448c7e..ea9e8e9c6d 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 @@
   #: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 @@ systems.")
          "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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]