unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Kubisiak <brian@kubisiak.com>
To: 54801@debbugs.gnu.org
Subject: [bug#54801] [PATCH] gnu: lsof: Fix invalid G-Expression.
Date: Fri, 8 Apr 2022 13:30:34 -0700	[thread overview]
Message-ID: <20220408203034.oot2hkhnhurhjs7r@peregrine> (raw)

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






             reply	other threads:[~2022-04-08 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08 20:30 Brian Kubisiak [this message]
2022-04-08 21:07 ` bug#54801: [PATCH] gnu: lsof: Fix invalid G-Expression Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220408203034.oot2hkhnhurhjs7r@peregrine \
    --to=brian@kubisiak.com \
    --cc=54801@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).