* [bug#54801] [PATCH] gnu: lsof: Fix invalid G-Expression.
@ 2022-04-08 20:30 Brian Kubisiak
2022-04-08 21:07 ` bug#54801: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Brian Kubisiak @ 2022-04-08 20:30 UTC (permalink / raw)
To: 54801
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.
---
gnu/packages/lsof.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index be7bf43646..5f413483f4 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -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")
--
2.34.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#54801: [PATCH] gnu: lsof: Fix invalid G-Expression.
2022-04-08 20:30 [bug#54801] [PATCH] gnu: lsof: Fix invalid G-Expression Brian Kubisiak
@ 2022-04-08 21:07 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-04-08 21:07 UTC (permalink / raw)
To: Brian Kubisiak; +Cc: 54801-done
Hi,
Brian Kubisiak <brian@kubisiak.com> skribis:
> 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.
Good catch; applied.
> ,@(if (%current-target-system)
> - (list (setenv "LINUX_CONF_CC" "gcc"))
Ouch, glad it wasn’t (delete-file-recursively "/").
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-08 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 20:30 [bug#54801] [PATCH] gnu: lsof: Fix invalid G-Expression Brian Kubisiak
2022-04-08 21:07 ` bug#54801: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).