From 7147a2c254e8010905fa2f02459618d28bdf7a75 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 12 Jan 2022 00:52:25 +0800 Subject: [PATCH 3/6] gnu: lowdown: Use G-expression. * gnu/packages/markup.scm(lowdown)[arguments]: Convert to G-expression. --- gnu/packages/markup.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 563ad1e8e1..7a776b9101 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -29,6 +29,7 @@ (define-module (gnu packages markup) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) @@ -135,17 +136,16 @@ (define-public lowdown (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h")))) (build-system gnu-build-system) (arguments - `(#:test-target "regress" - #:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (invoke "./configure" - (string-append "PREFIX=" out) - (string-append "MANDIR=" out "/share/man")))))) - #:make-flags '("CFLAGS=-fPIC")))) - + (list + #:test-target "regress" + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (invoke "./configure" + (string-append "PREFIX=" #$output) + (string-append "MANDIR=" #$output "/share/man"))))) + #:make-flags #~(list "CFLAGS=-fPIC"))) (native-inputs (list which)) (home-page "https://kristaps.bsd.lv/lowdown/") -- 2.34.0