gnu: nvme-cli: Use G-expressions.

* gnu/packages/linux.scm (nvme-cli)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-16 01:00:01 +01:00
parent a7fd4bb828
commit 847bd37be7
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -4736,17 +4736,18 @@ (define-public nvme-cli
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:phases (modify-phases %standard-phases
(delete 'configure) ; no ./configure script
(replace 'install
(lambda _
(invoke "make" "install-spec" "PREFIX="
(string-append "DESTDIR=" %output)))))
;; The tests require sysfs, which is not accessible from from the build
;; environment
#:tests? #f))
(list #:make-flags
#~(list (string-append "CC=" #$(cc-for-target)))
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no ./configure script
(replace 'install
(lambda _
(invoke "make" "install-spec" "PREFIX="
(string-append "DESTDIR=" #$output)))))
;; The tests require sysfs, which is not accessible from from the
;; build environment.
#:tests? #f))
(synopsis "NVM-Express user space tooling for Linux")
(description "Nvme-cli is a utility to provide standards compliant tooling
for NVM-Express drives. It was made specifically for Linux as it relies on the