me
/
guix
Archived
1
0
Fork 0

gnu: hdparm: Use G-expressions.

* gnu/packages/linux.scm (hdparm)[arguments]:
Rewrite as G-expressions.
Tobias Geerinckx-Rice 2022-01-11 23:24:10 +00:00
parent fc6ca1ed99
commit 70e18f327e
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 10 additions and 11 deletions

View File

@ -4695,17 +4695,16 @@ isolation or root privileges.")
"14cni5r116k07zqj0565byjhv6gf3ns6hd8jkjl7fn5sxgm5sy3h"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "binprefix=" out)
(string-append "manprefix=" out)
,(string-append "CC=" (cc-for-target))
;; Let Guix strip the binaries and not break cross-compilation.
"STRIP=true"))
#:phases
(modify-phases %standard-phases
(delete 'configure)) ; no configure script
#:tests? #f)) ; no test suite
(list #:make-flags
#~(list (string-append "binprefix=" #$output)
(string-append "manprefix=" #$output)
(string-append "CC=" #$(cc-for-target))
;; Let Guix strip binaries and not break cross-compilation.
"STRIP=true")
#:phases
#~(modify-phases %standard-phases
(delete 'configure)) ; no configure script
#:tests? #f)) ; no test suite
(home-page "https://sourceforge.net/projects/hdparm/")
(synopsis "View and tune ATA disk drive parameters")
(description