gnu: nnn: Use G-expressions.

* gnu/packages/admin.scm (nnn)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-01 02:00:01 +02:00
parent 769202ecf8
commit 755e702db7
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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