gnu: lsof: Fix invalid G-Expression.

Cross-compiling lsof is failing with an "invalid G-expression input"
error. Fix this by using a quoted list.

* gnu/packages/lsof.scm (lsof): Fix invalid G-Expression.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brian Kubisiak 2022-04-08 13:30:34 -07:00 committed by Ludovic Courtès
parent b38e053513
commit 1d0e57fab8
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -55,7 +55,7 @@ (define-public lsof
(lambda _
(setenv "LSOF_CC" ,(cc-for-target))
,@(if (%current-target-system)
(list (setenv "LINUX_CONF_CC" "gcc"))
'((setenv "LINUX_CONF_CC" "gcc"))
'())
(setenv "LSOF_MAKE" "make")