[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: dub: Use G-expressions.
From: |
guix-commits |
Subject: |
12/12: gnu: dub: Use G-expressions. |
Date: |
Sat, 25 Jun 2022 14:16:49 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 4c63796545ce2a1f7cd556a831bb92c7b3166358
Author: ( <paren@disroot.org>
AuthorDate: Wed Jun 15 19:53:50 2022 +0100
gnu: dub: Use G-expressions.
* gnu/packages/dlang.scm (dub)[arguments]:
Rewrite as G-expressions.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
gnu/packages/dlang.scm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index c17224d1eb..9acd01ed9d 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -454,20 +454,20 @@ integration tests...\n")
(base32 "06a4whsl1m600k096nwif83n7za3vr7pj1xwapncy5fcad1gmady"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; it would have tested itself by installing some packages
(vibe etc)
- #:phases
- (modify-phases %standard-phases
- (delete 'configure) ; no configure script
- (replace 'build
- (lambda _
- (setenv "CC" ,(cc-for-target))
- (setenv "LD" ,(ld-for-target))
- (invoke "./build.d")))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
- (install-file "bin/dub" bin)))))))
+ (list #:tests? #f ; tests try to install packages
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (replace 'build
+ (lambda _
+ (setenv "CC" #$(cc-for-target))
+ (setenv "LD" #$(ld-for-target))
+ (invoke "./build.d")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "bin/dub" bin)))))))
(inputs
(list curl))
(native-inputs
- branch master updated (4772c03ffe -> 4c63796545), guix-commits, 2022/06/25
- 11/12: gnu: dub: Update to 1.23.0., guix-commits, 2022/06/25
- 12/12: gnu: dub: Use G-expressions.,
guix-commits <=
- 08/12: gnu: d-tools: Use G-expressions., guix-commits, 2022/06/25
- 04/12: gnu: exim: Use G-expressions., guix-commits, 2022/06/25
- 03/12: gnu: exim: Don't address build inputs by their labels., guix-commits, 2022/06/25
- 02/12: gnu: exim: Hide bogus CVE lint warning., guix-commits, 2022/06/25
- 05/12: gnu: exim: Remove input labels., guix-commits, 2022/06/25
- 06/12: gnu: rdmd: Rename to d-tools., guix-commits, 2022/06/25
- 07/12: gnu: d-tools: Fix build., guix-commits, 2022/06/25
- 01/12: gnu: exim: Update to 4.96., guix-commits, 2022/06/25
- 10/12: gnu: d-tools: Update to 2.100.0., guix-commits, 2022/06/25
- 09/12: gnu: d-tools: Don't use unstable tarball., guix-commits, 2022/06/25