From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKrxK3Q3W18TYQAA0tVLHw (envelope-from ) for ; Fri, 11 Sep 2020 08:38:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6DE4JnQ3W1/oJAAA1q6Kng (envelope-from ) for ; Fri, 11 Sep 2020 08:38:12 +0000 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 EC20D94051F for ; Fri, 11 Sep 2020 08:38:11 +0000 (UTC) Received: from localhost ([::1]:53402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGeZN-0005Wk-Hb for larch@yhetil.org; Fri, 11 Sep 2020 04:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGeZG-0005WX-Ua for guix-patches@gnu.org; Fri, 11 Sep 2020 04:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGeZG-0001yp-LK for guix-patches@gnu.org; Fri, 11 Sep 2020 04:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGeZG-0002IY-Hd for guix-patches@gnu.org; Fri, 11 Sep 2020 04:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43249] Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Sep 2020 08:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43249 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Brendan Tildesley Cc: Prafulla Giri , 43249@debbugs.gnu.org Received: via spool by 43249-submit@debbugs.gnu.org id=B43249.15998134738819 (code B ref 43249); Fri, 11 Sep 2020 08:38:02 +0000 Received: (at 43249) by debbugs.gnu.org; 11 Sep 2020 08:37:53 +0000 Received: from localhost ([127.0.0.1]:42260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGeZ7-0002IA-2H for submit@debbugs.gnu.org; Fri, 11 Sep 2020 04:37:53 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGeZ5-0002I2-3H for 43249@debbugs.gnu.org; Fri, 11 Sep 2020 04:37:51 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1599813462; cv=none; d=zohomail.com; s=zohoarc; b=iL0sl3u2hs4N1+nguxVzm6s86MOCukyp27DGZcKZSAOTClpNGL8xcc4LtX518K8OogbWvD5o1bC6rsbH13wxrZSKx+JaRUDD/sVMggDjrRWpR9JA7BUkLbct+D9alnxYRNgY3Fmo2lyK0jb2/5yFqBn4flZ+ecXpgGgCzdCRQDY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599813462; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=30zCCqxoqLrrPzfnTjl0i/btEuYxFy4HvUAlFa6R56c=; b=Fifrnq+E965RI2fZaybGfyukqQ5s2j7W/xnf95Gb5yZb1jf2a35VHCG0cAbO5X/vQJ1HVJjmJTKFRroHKsCHh8D1P81b2LtCOFAZCmzWQAFh7SYX/aAAYCxqkVOn6zX4UgCJLeS7Hd+MAawFQJd+HuRdDGe+NUiIM3VPAzb88Pg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1599813462; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=30zCCqxoqLrrPzfnTjl0i/btEuYxFy4HvUAlFa6R56c=; b=K+dGwprp/spnMJxR+px6TNzYXn54V5jzb76hOdfdf49wBhhs/+ab62KKTpgJPN+f mc6X42nsV87lX+MNkJ9byAKBLxUcM6HPeFStJwtIU6Ish8eo2mhpwaPQvYzmPShcncz Cpx7ntN/mZvrqMmA9d3khoD3DeyLFiaHYANZI5YA= Received: from localhost (p54ad420a.dip0.t-ipconnect.de [84.173.66.10]) by mx.zohomail.com with SMTPS id 1599813460782346.3573145037126; Fri, 11 Sep 2020 01:37:40 -0700 (PDT) References: <87d02wca8d.fsf@elephly.net> <330470a6-e6d2-e679-32ac-a308d89a5e92@brendan.scot> <87tuw54vhy.fsf@elephly.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 11 Sep 2020 10:38:55 +0200 Message-ID: <87een83dy8.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=K+dGwprp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 2.49 X-TUID: 17fy5/t1DrVB Brendan Tildesley writes: > On 10/9/20 11:22 pm, Ricardo Wurmus wrote: >> Brendan Tildesley writes: >> >>> I guess then we should patch wrap-program to add >>> >>> (when (wrapper? prog) >>> (error (string-append prog " is a wrapper. Refusing to wrap."))) >> Should it really refuse to wrap or *add* its variables to the existing >> wrapper? >> > If there is a /bin/foo and /bin/.foo-real created by wrap-program, and > we are to run another wrap-program phase, under what circumstances > would it /not/ be a mistake to call (wrap-program "/bin/.foo-real") > instead of (wrap-program "/bin/foo")? And if the first one was called, > probably it was because find-files was used and the packager didn't > realise it was happening, and therefore it will be double-wrapped, > like gedit is. Oh, yes, that would be a mistake. -- Ricardo