From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 2LBpNdrRHmUfUAAAauVa8A:P1 (envelope-from ) for ; Thu, 05 Oct 2023 17:10:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2LBpNdrRHmUfUAAAauVa8A (envelope-from ) for ; Thu, 05 Oct 2023 17:10:18 +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 98B1E44617 for ; Thu, 5 Oct 2023 17:10:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=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"; 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=1696518618; h=from:from:sender:sender:reply-to: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=0r8ifbQmLJ7Pjri0jRguLfrNCC2lI3dSoyfC5rY7QU8=; b=dMth6/wIE0mpkI2PP/u13IIXwi+QDeJ7oEL7h3nvEvQDajZUtJOAIAcPVY1g9wO8YPSrQj pNQWyrxAJ9fbdfhTmSfHial4oN0w7G8vone5G1vrQsrSukY24O3OJQT6MYE5FXvz++6cLA 5C8cpFzUvkK6G9OyfLxVlnsdgl+drcrpXQAr1lnaydEdm4rAiDlsB078ExaWhCAkcDR3Jj 8jPRLjXfDJ2TD9bQFKvVHgtsO/q4UKa0YKaHLk18VMNeCWsUHMfzAh14JfxVEg9OaM4PD+ GVDYdsSkuGBY440ZdJ1BJQNNSdtoK6huaMz2vb1MKv0a3Yjn8Fu0n9hBI4+7gw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696518618; a=rsa-sha256; cv=none; b=FnTjjSVd56R1CnWiCgA5suMiCjxjlkrrDJtHgB1wrHqXpNYTECY/pQn8Q7RjkkbLI5wPG0 SjrZXIXuHbBiZ5EOZQFVfJ++opwC99gimOSE0rSafCfyRV0Gwjpbx8aXeR/3wH1a45xd5B FxG9OfZfYhvFi6J/fJz0ZiEmS0uChfQOvFJxaYXjI2roVt5lWHKkUA6tyGSbuq3+nw6Us8 VebYZYzr2sFGI999UtE5TMR5RPLe2dOtlhIUi1SDCe1h3U9Sg+FGWYkKEnLR48jwCy5P4D obQK4gni+WMscvBs8/jXA8Yf7ZjOUEAGvvRc66N9Gzr4AKahwJs3wgvIPSH+kA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; 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 1qoPz0-0007ri-9T; Thu, 05 Oct 2023 11:09:46 -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 1qoPyy-0007r7-PC for guix-patches@gnu.org; Thu, 05 Oct 2023 11:09:44 -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 1qoPyy-0008TC-HV for guix-patches@gnu.org; Thu, 05 Oct 2023 11:09:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoPzG-0001At-MY for guix-patches@gnu.org; Thu, 05 Oct 2023 11:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65857] [PATCH v2 2/2] gnu: scilab: Set SCIHOME default to respect XDG base dirs. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65857 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 65853@debbugs.gnu.org, Eric Bavier , Andreas Enge , 65857@debbugs.gnu.org, Efraim Flashner Received: via spool by 65857-submit@debbugs.gnu.org id=B65857.16965186004488 (code B ref 65857); Thu, 05 Oct 2023 15:10:02 +0000 Received: (at 65857) by debbugs.gnu.org; 5 Oct 2023 15:10:00 +0000 Received: from localhost ([127.0.0.1]:48189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoPzD-0001AJ-Sj for submit@debbugs.gnu.org; Thu, 05 Oct 2023 11:10:00 -0400 Received: from 8.mo581.mail-out.ovh.net ([46.105.77.114]:60933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoPyw-00019Z-Dk for 65857@debbugs.gnu.org; Thu, 05 Oct 2023 11:09:57 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.16.251]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 80C56210F9 for <65857@debbugs.gnu.org>; Thu, 5 Oct 2023 15:09:22 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mlfvq (unknown [10.110.103.34]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1036B20272; Thu, 5 Oct 2023 15:09:20 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-6684bf9d7b-mlfvq with ESMTPSA id PCL4OqDRHmUBvAcAz2nt6g (envelope-from ); Thu, 05 Oct 2023 15:09:20 +0000 X-OVh-ClientIp: 81.67.140.142 In-Reply-To: <87bkdd3yxc.fsf_-_@gnu.org> References: <0852115dc8e706b80b05d57cfbfae64de79fdac5.1694362722.git.ngraves@ngraves.fr> <0dd0a7387a8232abd43f484b87f183c9340497b0.1695927790.git.ngraves@ngraves.fr> <87bkdd3yxc.fsf_-_@gnu.org> Date: Thu, 05 Oct 2023 17:09:20 +0200 Message-ID: <871qe9p0m7.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 15105636103071785520 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrgeeggdekvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffduleekjeevteelueffjeefffethffhffeutdettefhleeuleevffejvdfftdffnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehkeehjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via 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.72 X-Spam-Score: -6.72 X-Migadu-Queue-Id: 98B1E44617 X-TUID: BolY0CK1lcai On 2023-10-05 16:51, Ludovic Court=C3=A8s wrote: > 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? Yes, it also has to be rebased now that scilab is version 2023.=20 > > Thanks, > Ludo=E2=80=99. --=20 Best regards, Nicolas Graves