gnu: nnn: Use G-expressions.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sun, 1 May 2022 00:00:01 +0000 (02:00 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sun, 1 May 2022 00:00:00 +0000 (02:00 +0200)
* gnu/packages/admin.scm (nnn)[arguments]:
Rewrite as G-expressions.

gnu/packages/admin.scm

index e9c9ed2..1b01f2f 100644 (file)
@@ -3917,16 +3917,15 @@ information tool.")
     (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