From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yLkOLoPNHmXrRQEAG6o9tA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 16:51:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yLkOLoPNHmXrRQEAG6o9tA (envelope-from ) for ; Thu, 05 Oct 2023 16:51:47 +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 156E16FE5D for ; Thu, 5 Oct 2023 16:51:47 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rqiNeJiS; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696517507; 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:dkim-signature; bh=L/uPReI50JC/gdZ8hOFyR0lDD7Z0eUtBseC2snxmPSI=; b=ov3dtaPMYaDIXX6VCy3cfaxY3kRZrd0XLbk/K28PLdHaIyP2ZjZ4mBTUmoDMMy3g9/gd3s Mm/thBek4OH2ZVYbolLEOPawcBEVgPmDTphl3BHw4DQMOE8Zn9v2EYp/oEkhMxBQIY2t7j d0FeDxwswJ6YP7jzFnnA7rq3mYY/B8utVVMGTIrGffouMBjdn7S9Ebqcp/rEbxNzWdTei2 L3eg4faIPyUPvN9ItTcKbrfblEERygi3kvO0BfLfJFg93s0yaPi3Om4HUfupXZVaeAdzgU Uwx+cdUbdWal47X/FRUHxo5sx8F1WCLi1TUTBCrHTs2ZTPBuhFKVaiTndSiBpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696517507; a=rsa-sha256; cv=none; b=t9UzLgMsqtt37chEJ3BJwtBPLwdFiwST79vF6Ow+kSdLo3HGX7ErCCNkT+nJs6MYLtvmu9 VMoHiS9YTDbtdl3vTZqAw1EwR+KqXqqTQHUSIOf85q6/1k4QbIi72y5kA0GHITvIkYtKn9 uQhUVsU966Z6pS0XK0DjOGK0gjSBnsjolMxnRz9UNKjMTGaho/Af7N6cVpuRHpWFP169vW EEaxeGxdfLQkNh+Qn6NVMv9zB7pJZV52I1K3zzcwhuGmrCYPLCHjAsBCjS+W4riziaY6p0 TY4mOClbvCOdJL0QaW5m3NHVwNNcVXE0kw/2ukpFXU6/4uIU5r3bgEcx4ouX9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rqiNeJiS; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoPhY-00037e-SP; Thu, 05 Oct 2023 10:51:44 -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 1qoPhX-00037N-Jt for guix-patches@gnu.org; Thu, 05 Oct 2023 10:51:43 -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 1qoPhX-0002SD-BD for guix-patches@gnu.org; Thu, 05 Oct 2023 10:51:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoPhp-0000Zy-J6 for guix-patches@gnu.org; Thu, 05 Oct 2023 10:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65853] bug#65857: [PATCH v2 2/2] gnu: scilab: Set SCIHOME default to respect XDG base dirs. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 14:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: 65853@debbugs.gnu.org, Eric Bavier , Andreas Enge , 65857@debbugs.gnu.org, Efraim Flashner Received: via spool by 65853-submit@debbugs.gnu.org id=B65853.16965175192217 (code B ref 65853); Thu, 05 Oct 2023 14:52:01 +0000 Received: (at 65853) by debbugs.gnu.org; 5 Oct 2023 14:51:59 +0000 Received: from localhost ([127.0.0.1]:48115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoPhm-0000Zc-QA for submit@debbugs.gnu.org; Thu, 05 Oct 2023 10:51:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoPhj-0000ZI-Sk; Thu, 05 Oct 2023 10:51:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoPhK-0002Qf-Qw; Thu, 05 Oct 2023 10:51:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=L/uPReI50JC/gdZ8hOFyR0lDD7Z0eUtBseC2snxmPSI=; b=rqiNeJiS8Uz8Ukhskkal SRBCkKMU/+9YWQoIG8aMgA3hYnczao00hUIUp7NmUttGeZd6EljVbRCBS9Nz26YVvfgZjcXEfqZwR MzV+32OkEmXS2ej0S2mRX9rMaYtqUdTUuenx7/WnW2D3k4LQ+Zsmip67FvQgokUvsRa0hH1i6KGM2 MaXAmbldTTmgSatMcLWrwHMKuvS6g1ccvnrIYScuvd4AwS58+lpLZNaoVgOteiv3zwoYxTOcUY9vq 2OxFxKP+5QXZI4m/yEwjj1z8UGPpMhJm4uNenOURlPJb6/ebCeadKTukFfM6ySNFDlQX/4lF0YlfM yodDaAxhfcgsow==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <0dd0a7387a8232abd43f484b87f183c9340497b0.1695927790.git.ngraves@ngraves.fr> (Nicolas Graves's message of "Thu, 28 Sep 2023 21:03:10 +0200") References: <0852115dc8e706b80b05d57cfbfae64de79fdac5.1694362722.git.ngraves@ngraves.fr> <0dd0a7387a8232abd43f484b87f183c9340497b0.1695927790.git.ngraves@ngraves.fr> Date: Thu, 05 Oct 2023 16:51:27 +0200 Message-ID: <87bkdd3yxc.fsf_-_@gnu.org> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.92 X-Spam-Score: -6.92 X-Migadu-Queue-Id: 156E16FE5D X-TUID: 8yzL/V7kwGn/ Hi, Nicolas Graves skribis: > + (add-after 'install 'hardcode-script-inputs > + (lambda _ > + (substitute* (string-append #$output "/bin/scilab") > + (("grep") > + (search-inputs-file #$inputs "/bin/grep")) I=E2=80=99ll contradict Efraim, but hopefully they=E2=80=99ll pardon me: I= =E2=80=99d write it like so: (lambda* (#:key inputs #:allow-other-keys) (substitute* =E2=80=A6 (("grep") (search-input-file inputs "/bin/grep")))) That way it=E2=80=99ll DTRT even when creating a variant of this package. (The code above had a typo too, with =E2=80=9Cinputs=E2=80=9D as plural.) Could you send one last updated patch? Thanks, Ludo=E2=80=99.