From: Bruno Victal <mirai@makinata.eu>
To: Jakob Kirsch <jakob.kirsch@web.de>
Cc: 66608@debbugs.gnu.org
Subject: [bug#66608] [PATCH] gnu: Add yara.
Date: Thu, 19 Oct 2023 16:08:10 +0100 [thread overview]
Message-ID: <87lebyhcpx.fsf@makinata.eu> (raw)
In-Reply-To: <8fff56158eb150f2dab193ccdceb19fd451583e7.1697641034.git.jakob.kirsch@web.de> (Jakob Kirsch's message of "Wed, 18 Oct 2023 16:57:14 +0200")
Hi Jakob,
Jakob Kirsch <jakob.kirsch@web.de> writes:
> + (arguments
> + '(#:phases (modify-phases %standard-phases
> + (add-before 'check 'remove-bin-sh-in-test
> + (lambda* (#:key build-inputs #:allow-other-keys)
> + (substitute* "tests/test-rules.c"
> + (("/bin/sh")
> + (string-append (assoc-ref %build-inputs "bash")
> + "/bin/sh"))))))))
This can be written with G-Expressions as:
--8<---------------cut here---------------start------------->8---
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before …
(lambda _
(substitute* …
(string-append #$(this-package-input "bash") "/bin/sh")
…))))))
--8<---------------cut here---------------end--------------->8---
--
Thanks,
Bruno.
next prev parent reply other threads:[~2023-10-19 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 14:57 [bug#66608] [PATCH] gnu: Add yara Jakob Kirsch
2023-10-19 15:08 ` Bruno Victal [this message]
2023-10-19 16:35 ` [bug#66608] [PATCH v1] " Jakob Kirsch
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=87lebyhcpx.fsf@makinata.eu \
--to=mirai@makinata.eu \
--cc=66608@debbugs.gnu.org \
--cc=jakob.kirsch@web.de \
/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).