gnu: freeipmi: Use G-expressions.

* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Use G-expressions.

Change-Id: I998d7ca5073031c2a9807c5967b8c20984139bf6
This commit is contained in:
Zheng Junjie 2024-09-09 18:06:54 +08:00
parent 1864659189
commit 1abf7fdcb0
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -55,13 +55,13 @@ (define-public freeipmi
(string-append "/bin/" file)) "config")) (string-append "/bin/" file)) "config"))
'("config.guess" "config.sub")))))) '("config.guess" "config.sub"))))))
'()) '())
`(#:configure-flags '("--disable-static" (list #:configure-flags #~'("--disable-static"
,@(if (%current-target-system) #$@(if (%current-target-system)
;; We cannot check for these devices ;; We cannot check for these devices
;; when cross compiling. ;; when cross compiling.
`("ac_cv_file__dev_random=yes" `("ac_cv_file__dev_random=yes"
"ac_cv_file__dev_urandom=yes") "ac_cv_file__dev_urandom=yes")
'()))))) '())))))
(native-inputs (native-inputs
(if (and (%current-target-system) (if (and (%current-target-system)
(target-riscv64?)) (target-riscv64?))