From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yI7dJY1GMWUnNwEAauVa8A:P1 (envelope-from ) for ; Thu, 19 Oct 2023 17:09:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yI7dJY1GMWUnNwEAauVa8A (envelope-from ) for ; Thu, 19 Oct 2023 17:09:01 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DA55D43B32 for ; Thu, 19 Oct 2023 17:09:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697728141; a=rsa-sha256; cv=none; b=ZWf2FmKZZw7cZb27LZq7Mu/fazTJti243XPAiUW0C1ARqx3u2r/OemzDMmL65ON7FFpDcG RUOnWMrmTzj+nSP7Vi3kwqB7NIgkAnWq0PtV0/Oj+VpFUq2r1KLqFVaLwQF4U7FA5ZSQjp 8w/ALo1fbXcmPt+PfU0H5+CwmRqlpgtQQg5m6PP6W6eYjZ3IosHKhKW4nhnKSzSQZ1p8gK BAF/zIbVOsK+ehkt0VvwPcAgzgBSztBc4TM5oKaWVPUpclJ1Quvsp4caAqCQlGFjTQDta/ 4a51EyiZCYAyNtq1MNFwXSAlO/ApCpFzWeCr07kSmsfWPQM0jPdW8Grq3kH2rA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697728141; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=lobaqN//5cTGznVl8Mq2hBDoYbDoLspWc9MdO8EqmQQ=; b=uZlE+Jk6UXu1xNAR4bz5NLhwgjUwu+LFWuPvIHj+1NpNQRp7MVEs4aonAVOwJUzHTk0Gpy NEPHoMqkh42zpCeem5FBIoJWx8/XNZZ8FSVUuwKgrMyesViT4bF6xTohzltCeEx8H2ve2Z VAAv3BZN4+61Rtgk31UMd+9K56Ten43TAl5pt7Zqh/7KkcUWqGIvWd139HeTs45k1VTCbA Chfjaxkb0O4JIr80EpMDlcO5qmxivsXd71gQurwE2bqfT9I/dr7+hahVVMK/cmLnJYKpso AizHWgdjHg/wYiBWiasze0LbNvaPGo/ilf0tbCJH5KgwwIgMlE4vRvSwAYM50g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtUda-0004Da-Uq; Thu, 19 Oct 2023 11:08:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtUdZ-00041Q-0c for guix-patches@gnu.org; Thu, 19 Oct 2023 11:08:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtUdY-0002DO-OQ for guix-patches@gnu.org; Thu, 19 Oct 2023 11:08:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtUdy-0004h4-QN for guix-patches@gnu.org; Thu, 19 Oct 2023 11:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66608] [PATCH] gnu: Add yara. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66608 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jakob Kirsch Cc: 66608@debbugs.gnu.org Received: via spool by 66608-submit@debbugs.gnu.org id=B66608.169772812718008 (code B ref 66608); Thu, 19 Oct 2023 15:09:02 +0000 Received: (at 66608) by debbugs.gnu.org; 19 Oct 2023 15:08:47 +0000 Received: from localhost ([127.0.0.1]:37487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtUdi-0004gO-Nl for submit@debbugs.gnu.org; Thu, 19 Oct 2023 11:08:46 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]:38818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtUdf-0004gE-5k for 66608@debbugs.gnu.org; Thu, 19 Oct 2023 11:08:45 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id E7C1020F11; Thu, 19 Oct 2023 17:08:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 68E328009B; Thu, 19 Oct 2023 17:08:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DUfwML_ZQbxO; Thu, 19 Oct 2023 17:08:11 +0200 (CEST) Received: from guix-nuc (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id C589980099; Thu, 19 Oct 2023 17:08:10 +0200 (CEST) From: Bruno Victal In-Reply-To: <8fff56158eb150f2dab193ccdceb19fd451583e7.1697641034.git.jakob.kirsch@web.de> (Jakob Kirsch's message of "Wed, 18 Oct 2023 16:57:14 +0200") References: <8fff56158eb150f2dab193ccdceb19fd451583e7.1697641034.git.jakob.kirsch@web.de> X-Hashcash: 1:26:231019:66608@debbugs.gnu.org::S61yYzi6hptZgSfu:23BLp X-Hashcash: 1:26:231019:jakob.kirsch@web.de::zbHuKIfbiwquqgbm:5TZX3 Date: Thu, 19 Oct 2023 16:08:10 +0100 Message-ID: <87lebyhcpx.fsf@makinata.eu> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.16 X-Spam-Score: -6.16 X-Migadu-Queue-Id: DA55D43B32 X-TUID: F3VIPpnpDdEH Hi Jakob, Jakob Kirsch 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 =E2=80=A6 (lambda _ (substitute* =E2=80=A6 (string-append #$(this-package-input "bash") "/bin/sh") =E2=80=A6)))))) --8<---------------cut here---------------end--------------->8--- --=20 Thanks, Bruno.