From 4c63796545ce2a1f7cd556a831bb92c7b3166358 Mon Sep 17 00:00:00 2001 From: "(" Date: Wed, 15 Jun 2022 19:53:50 +0100 Subject: gnu: dub: Use G-expressions. * gnu/packages/dlang.scm (dub)[arguments]: Rewrite as G-expressions. Signed-off-by: Tobias Geerinckx-Rice --- 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 -- cgit v1.2.3