From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QK+rHnO4i2IXHAEAbAwnHQ (envelope-from ) for ; Mon, 23 May 2022 18:38:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kI+8HnO4i2I5vgAA9RJhRA (envelope-from ) for ; Mon, 23 May 2022 18:38:11 +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 173B515AD9 for ; Mon, 23 May 2022 18:38:11 +0200 (CEST) Received: from localhost ([::1]:60662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntB4M-0002zW-8N for larch@yhetil.org; Mon, 23 May 2022 12:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntB46-0002z8-3U for guix-devel@gnu.org; Mon, 23 May 2022 12:37:54 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:46064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntB44-000738-E5; Mon, 23 May 2022 12:37:53 -0400 Received: by mail-ej1-x644.google.com with SMTP id jx22so16560302ejb.12; Mon, 23 May 2022 09:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=HzH6CLt5DO9ctUwdDkPRKIsxrTw4WP7l8r+C55NcXAE=; b=gk9jPNFVPxni2sjd+z69PcxN9dp8aWE2OWa3rV5asHcnmGCXXzUuOcxDkPxogiQHU6 RsTAhviOmcCqZ2lEHNJPDDE6qJrhPcsM39VbQOzMDkkB6wzItcmaQMNOqEzCO+0+2K01 y3VWkn4RaI69G7VcX2SfSX3jASuiXwC+cqvraDsHvN5lqDhmjIeWDIZzCRVRUUEVSHke +qNCNYfi5OiwOFUkRjeGCeND6P1CyMmaDGnw55lW30SDx+IKkL6jtKv0bmkgeboxScTw QpGzU3A2WjMA/2d9m9HxF52Su5YpgESAplfC9Y9zAHKZNHIEdKp+XL/u6bHanDppE0Mi 7Ncg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=HzH6CLt5DO9ctUwdDkPRKIsxrTw4WP7l8r+C55NcXAE=; b=mvpoREu9ISxiGlOID6/qQYsm638ZXQEjSzyuOCLYhGVI6o1Ic3UlI1ODyMrIUC2oI5 tW0RP9wHbcmwjIEAlIHDI7WEzptRjLm3hRDezSHkfzgtYe5UtOv5R4qYCFMDPOYGvhXX a3an4Fzkc3IppJn4Ct1Aug/qPP7s+4YhHl66IxwMYnSO8S8MRUJFoP+J6wbFXnsjoww4 45v5wS7QQPqeJudeyn5wra7EouOmq6kQxusIUexBvhCNx0JZ6Ssea+GRkuNRPc0HePX8 vK4nOi63UwvrBwAh4PjxBNZQxF0MAIKdaDzQuGWt1LnHfsD463rnzCpHZYcTf/uilf9L wivg== X-Gm-Message-State: AOAM531equXIFyCoRXMxjYmokTJv5ieh9muFDtWuz31LQu+CboHKh7PE ea3/aup3BXJkWYLw/Jjc0ua2TbpFjOo= X-Google-Smtp-Source: ABdhPJxlHTi8sM9BB3QznYrz0uovhsWOBkP+2DmH72RRbK7pbLjfldBXZBrbcJBY/rdGUe5nYr4b2g== X-Received: by 2002:a17:906:7b82:b0:6f3:ee8d:b959 with SMTP id s2-20020a1709067b8200b006f3ee8db959mr21082259ejo.458.1653323868474; Mon, 23 May 2022 09:37:48 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id st5-20020a170907c08500b006fedeb8b838sm1502668ejc.153.2022.05.23.09.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 09:37:48 -0700 (PDT) Message-ID: <7328425a4f77d4971118c0ec25a17f7b806750b2.camel@gmail.com> Subject: Re: The case for moving raw binaries From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Date: Mon, 23 May 2022 18:37:47 +0200 In-Reply-To: <87pmk4475d.fsf@gnu.org> References: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> <87pmk4475d.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::644; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x644.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1653323891; 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=HzH6CLt5DO9ctUwdDkPRKIsxrTw4WP7l8r+C55NcXAE=; b=qLKxgYM3wXPjPvMg1Tey9qADEwpzBaPMuiX9B1DJL+i+uXdvtg42ofy09vE8vVfiCnmwGf myP932txKdQ9ewMXB+bNxNq3lXLqAY/MFulyR39zDjQkDAA+WBBDsoRPkJrxThsdLeEH0p 9shqg5RZ1U/c7p2cOYmnnzsi3/gk2BFbBOW6ykGLcD9s0ORXBy7bTX8X9BfNpbN85Kx9Mj cCZtBRBdJFN8lV88frAi3Yb8rLTfr6zxS0zBt47F+Sbb0U1aU+zfoT4SVVX4vJpCbyuDUX rbqhuiwk+fvavAyWGDF7KS+tSdHdxawVBE122muSoZn/uDeIw83ZbjxNafC+Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653323891; a=rsa-sha256; cv=none; b=YHw3WpPaM/uA30lzwhhafHbkP7zY2sIn2NW5YyfEopjh5NkBU5Aa8OkmFoOdoCqm2geoGs +rhw5ymzxypFm5xJUlonlf+vo3wM2M+MY0pWmSCN3OXrikevtds7VtMfN+vJ2B0dH/Ty1m yX1TxTfdzd4G9MOiEQrhTO5HNmE302yN1Cw4jEHzvZMa+UaFh+7EIEFc6E+9lUqub4qMiE ANBKeV5fZCf65iqNbKJN5pIOqWjoM73RZaTymlYXfJ4nKtK9H3gM/dxLCpOG7M0KGre6+2 Ke0mH/M/+xXA5rLkQLBws0cRfCKDSjqcRINQHgTpQmii0uXLEfQbBN772Kjnhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gk9jPNFV; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gk9jPNFV; dmarc=pass (policy=none) header.from=gmail.com; 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: 173B515AD9 X-Spam-Score: -4.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: riO4mDJn0TAs Am Montag, dem 23.05.2022 um 17:10 +0200 schrieb Ludovic Courtès: > 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’t yet used to its full potential is ‘wrap- > script’, an alternative to ‘wrap-program’ that Ricardo added to (guix > 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. Speaking of wrap-script, for Guile in particular wouldn't it make sense to use sh as a wrap-script wrapper with the #! exec hack?