From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qM+gBdSki2L04QAAbAwnHQ (envelope-from ) for ; Mon, 23 May 2022 17:14:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SI2EBdSki2J4zgAA9RJhRA (envelope-from ) for ; Mon, 23 May 2022 17:14:28 +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 835579264 for ; Mon, 23 May 2022 17:14:27 +0200 (CEST) Received: from localhost ([::1]:45546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nt9lK-0004JT-4c for larch@yhetil.org; Mon, 23 May 2022 11:14:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt9hu-0000Lv-EC for guix-devel@gnu.org; Mon, 23 May 2022 11:10:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt9hs-0000di-OE; Mon, 23 May 2022 11:10:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=vqoaxFKrTK3XpTC1LrVTdA7CWG2yN8/zSwwRrIivsXA=; b=ReA7UlvlCmRnR7FUtlto U0ULP3QB/4H/G/WV9xmos2tRylFFeT2NcEyBW/5PR7adHlRBHcxw2+Qc7dbLXtLlvE2ghe0vKjVzq qY66efbQfUvjceyC7++iO8fFdBJjk+0T9Qv+hFJn5q3dYgfnzLS1ekrEVYx93RoVmcuL1F0IIErhg uGnipqC0cPfkl/QU0USsECc+EJDBAwJwAgXrFNP68SXZ5J4gTfL3RrKKoF5B+PpI82hjz5wnIjfuN IJk5rIEtT+UDzRt0bPzwzGzVvfCacRemspQU4fsU4okfdEsg8JcPe1iAFDvIAuPmf3hryO4AnnGJj WWGvEi66/70pFA==; Received: from [193.50.110.143] (port=40028 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt9hB-0001R0-1w; Mon, 23 May 2022 11:10:52 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Cc: guix-devel@gnu.org Subject: Re: The case for moving raw binaries References: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Prairial an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 May 2022 17:10:06 +0200 In-Reply-To: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> (Liliana Marie Prikler's message of "Thu, 28 Apr 2022 18:37:11 +0200") Message-ID: <87pmk4475d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653318867; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vqoaxFKrTK3XpTC1LrVTdA7CWG2yN8/zSwwRrIivsXA=; b=mEZzH611+Rlf2p42YY6H0eA0XWGColOFZutZaDTgGMbk5Sn5n9GtWT57xjr03tVIEx8jAH ALauXxT3PpP5YwXhLKxeUkHmyu47piVz1KUnv7s/sEHrHOU6VVfd6Gr+2e+aRSmNKlQHsM PdtxZ52fraxlIrI1mvVJVz/iXUAp+59Y9LB2imQTbInMFB61edLCRiFssqhsVyXTWl3JwG Vzk7hdY6s+XYAw5HH23DIhIf3CDmTESO9Nn1/1NYQCDaSN8qQLQTJrvL5dGpf+zEOlUADb /y1ga1jMiFHLeFG0YB7v6WBSU3bM0MU/DXN0gQx5dD0Ey98kGOVc39H6A/M1Yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653318867; a=rsa-sha256; cv=none; b=eaM411t4VnBPVTs7B81seGyTbPTuvpuKfHsTU9/B6rVYvDAYtm5QNN9AvbEI/PkR+5QzVo tfkCkZ1FJjRX1QZ30Iqqc+nY05LUyTcsw8D3KGiBvsjI3Q7nHxhqpcuErZWplMxGdQPcjK zUi3rm6Z0dPizEMWBs6C2TfZEdnznKWNnJDPZgtFV/f9s8scULunb3qcPcxZlh96iu2TPK l10uT3qYrmsjk4AlKOTaiq6nkaB8xgrqldabHaa+Wf/MsHVlvDnwEK0k+bgyfyxjbvxvbc nTw3hVU1s4TG9wsTFn+jUtvg2x9o7spCLQ9Un0DscKq1GsMZS+IgkPYzbFxHuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ReA7Ulvl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ReA7Ulvl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 835579264 X-Spam-Score: -7.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: n+UpbJ6DylcY Hi! Liliana Marie Prikler skribis: > "raw binaries" (henceforth rawbins) are the unwrapped binaries that > Guix leaves behind in $PACKAGE/bin with the .$WRAPPER-real name. This > practise causes several issues. For one, those rawbins are visible in > the shell by typing a dot and using tab completion. What's more, in > some build systems there might be two (or even more) off them. This > makes a generic wrap after wrap pattern almost impossible to achieve. One solution we haven=E2=80=99t yet used to its full potential is =E2=80=98= wrap-script=E2=80=99, an alternative to =E2=80=98wrap-program=E2=80=99 that Ricardo added to (gui= x build utils) a while back. Its advantage is that it does not create a new file. It only works for scripts, and only in some languages, but using it more widely may already improve the situation noticeably. Ludo=E2=80=99.