From 755e702db7bcd5eed241b5e26072640150745564 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 May 2022 02:00:01 +0200 Subject: [PATCH] gnu: nnn: Use G-expressions. * gnu/packages/admin.scm (nnn)[arguments]: Rewrite as G-expressions. --- gnu/packages/admin.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e9c9ed28ed..1b01f2fe63 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3917,16 +3917,15 @@ (define-public nnn (native-inputs (list pkg-config)) (arguments - `(#:tests? #f ; no tests - #:phases - (modify-phases %standard-phases - (delete 'configure)) ; no configure script - #:make-flags - (list - (string-append "PREFIX=" - (assoc-ref %outputs "out")) - (string-append "CC=" ,(cc-for-target)) - (string-append "PKG_CONFIG=" ,(pkg-config-for-target))))) + (list #:tests? #f ; no tests + #:make-flags + #~(list + (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target)) + (string-append "PKG_CONFIG=" #$(pkg-config-for-target))) + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) ; no configure script (home-page "https://github.com/jarun/nnn") (synopsis "Terminal file browser") (description