guix-commits
[Top][All Lists]
Advanced

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

07/10: gnu: ghc-8.8: Rewrite using G-exps.


From: guix-commits
Subject: 07/10: gnu: ghc-8.8: Rewrite using G-exps.
Date: Tue, 23 Aug 2022 11:05:41 -0400 (EDT)

efraim pushed a commit to branch staging
in repository guix.

commit 9e263027731b085640ddf48451e8f967ead283e4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Aug 22 10:34:24 2022 +0300

    gnu: ghc-8.8: Rewrite using G-exps.
    
    * gnu/packages/haskell.scm (ghc-8.8)[arguments]: Rewrite using g-exps.
    Remove trailing #t from phases.
---
 gnu/packages/haskell.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8c0cc48ef5..984aa33f6e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -845,19 +845,17 @@ interactive environment for the functional language 
Haskell.")
     (arguments
      (substitute-keyword-arguments (package-arguments ghc-8.6)
        ((#:phases phases '%standard-phases)
-        `(modify-phases ,phases
+        #~(modify-phases #$phases
            (add-before 'build 'fix-cc-reference
              (lambda _
                (substitute* "utils/hsc2hs/Common.hs"
-                 (("\"cc\"") "\"gcc\""))
-               #t))
+                 (("\"cc\"") "\"gcc\""))))
            (add-after 'unpack-testsuite 'skip-more-tests
              (lambda _
                ;; XXX: This test fails because our ld-wrapper script
                ;; mangles the response file passed to the linker.
                (substitute* "testsuite/tests/hp2ps/all.T"
-                 (("^test\\('T15904'") "# guix skipped: test('T15904'"))
-               #t))))))
+                 (("^test\\('T15904'") "# guix skipped: test('T15904'"))))))))
     (native-search-paths (list (search-path-specification
                                 (variable "GHC_PACKAGE_PATH")
                                 (files (list



reply via email to

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