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 @@
(string-append "/bin/" file)) "config"))
'("config.guess" "config.sub"))))))
'())
`(#:configure-flags '("--disable-static"
,@(if (%current-target-system)
;; We cannot check for these devices
;; when cross compiling.
`("ac_cv_file__dev_random=yes"
"ac_cv_file__dev_urandom=yes")
'())))))
(list #:configure-flags #~'("--disable-static"
#$@(if (%current-target-system)
;; We cannot check for these devices
;; when cross compiling.
`("ac_cv_file__dev_random=yes"
"ac_cv_file__dev_urandom=yes")
'())))))
(native-inputs
(if (and (%current-target-system)
(target-riscv64?))