[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/13: gnu: agda: Use G-expressions.
From: |
guix-commits |
Subject: |
03/13: gnu: agda: Use G-expressions. |
Date: |
Wed, 11 May 2022 18:31:48 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 914d2c2142eb22a0219cf09475ea7207808ded6a
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 8 02:00:00 2022 +0200
gnu: agda: Use G-expressions.
* gnu/packages/agda.scm (agda)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/agda.scm | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/agda.scm b/gnu/packages/agda.scm
index 706360c94f..87e787b72d 100644
--- a/gnu/packages/agda.scm
+++ b/gnu/packages/agda.scm
@@ -71,22 +71,22 @@
ghc-uri-encode
ghc-zlib))
(arguments
- `(#:modules ((guix build haskell-build-system)
- (guix build utils)
- (srfi srfi-26)
- (ice-9 match))
- #:phases
- (modify-phases %standard-phases
- ;; This allows us to call the 'agda' binary before installing.
- (add-after 'unpack 'set-ld-library-path
- (lambda _
- (setenv "LD_LIBRARY_PATH" (string-append (getcwd)
"/dist/build"))))
- (add-after 'compile 'agda-compile
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (agda-compiler (string-append out "/bin/agda")))
- (for-each (cut invoke agda-compiler <>)
- (find-files (string-append out "/share")
"\\.agda$"))))))))
+ (list #:modules `((guix build haskell-build-system)
+ (guix build utils)
+ (srfi srfi-26)
+ (ice-9 match))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; This allows us to call the 'agda' binary before installing.
+ (add-after 'unpack 'set-ld-library-path
+ (lambda _
+ (setenv "LD_LIBRARY_PATH" (string-append (getcwd)
"/dist/build"))))
+ (add-after 'compile 'agda-compile
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((agda-compiler (string-append #$output "/bin/agda")))
+ (for-each (cut invoke agda-compiler <>)
+ (find-files (string-append #$output "/share")
+ "\\.agda$"))))))))
(home-page "https://wiki.portal.chalmers.se/agda/")
(synopsis
"Dependently typed functional programming language and proof assistant")
- 04/13: gnu: iceauth: Update to 1.0.9., (continued)
- 04/13: gnu: iceauth: Update to 1.0.9., guix-commits, 2022/05/11
- 05/13: doc: Avoid leading ‘But’., guix-commits, 2022/05/11
- 06/13: gnu: recutils: Remove some input labels., guix-commits, 2022/05/11
- 13/13: gnu: beep: Drop obsolete $(pkgdocdir) make flag., guix-commits, 2022/05/11
- 08/13: gnu: lighttpd: Fix bash reference., guix-commits, 2022/05/11
- 09/13: gnu: lighttpd: Update to 1.4.64., guix-commits, 2022/05/11
- 12/13: gnu: beep: Use G-expressions., guix-commits, 2022/05/11
- 01/13: gnu: isc-dhcp: Update to 4.4.3., guix-commits, 2022/05/11
- 07/13: gnu: recutils: Fix cross-compilation., guix-commits, 2022/05/11
- 02/13: gnu: agda: Update to 2.6.2.2., guix-commits, 2022/05/11
- 03/13: gnu: agda: Use G-expressions.,
guix-commits <=
- 11/13: gnu: beep: Update to 1.4.12., guix-commits, 2022/05/11
- 10/13: gnu: lighttpd: Update style., guix-commits, 2022/05/11