From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 uKZ1CcnCamK5SwEAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 18:37:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wFBkCMnCamJETgEAauVa8A (envelope-from ) for ; Thu, 28 Apr 2022 18:37:29 +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 EDDF712FE4 for ; Thu, 28 Apr 2022 18:37:28 +0200 (CEST) Received: from localhost ([::1]:45862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk78y-000137-5H for larch@yhetil.org; Thu, 28 Apr 2022 12:37:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk78n-00012t-O5 for guix-devel@gnu.org; Thu, 28 Apr 2022 12:37:17 -0400 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:36828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk78m-000428-3r for guix-devel@gnu.org; Thu, 28 Apr 2022 12:37:17 -0400 Received: by mail-ej1-x642.google.com with SMTP id k23so10700060ejd.3 for ; Thu, 28 Apr 2022 09:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:user-agent:mime-version :content-transfer-encoding; bh=KsEY7zxsiyQWEqLZ/sWM5bImwrwyn612PtEqd5VUEkM=; b=oKZuyw6vyNjHnSKXZ2HWUhvJye1N4YrQf7OnnUQGNcPEgv635ubdVcl1GV0s8n86zf +KoT5QLUbsZsJLstf6BTxHAgU3jpNaELVKGLPg30VxAUK8A3oAGdvK4NNPeOC5RL6qhF fswaVeG8o/PTFT4fC7sgIYdjqYDdG6HO6PPk2mUNXq6aEIfF+gucpZcagD3iheNU07cd qVF3assRJLhdFp5as54phee90Iin5rzmHDhMMG7FF1g9OctpmR2eyvFHo6gS7pe6HUU4 O6+t/gamKA5IxJCHnlRY4VqgTf+kIklnw+YxWrHqCLHlHwmt4auQFUZcSj+GVXOVs0ZO yBew== 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:date:user-agent :mime-version:content-transfer-encoding; bh=KsEY7zxsiyQWEqLZ/sWM5bImwrwyn612PtEqd5VUEkM=; b=B7bS6hEGQu2KjVMmc8yGQtw6ZPjlZ9X1Mgav6jNvrfy28+dy/Lya3frglE9tVpHVrG Ppeq0kKTXS/SYpggwe4jHRrwd80Miar8mqG07hNQ4c1K5n37vUhL4H6EviTlKI9VMRM8 i3O0BaM9zypgHlv9G+8i59Kh6LBKOtjOndlYcqj+Rluf9oySIGg4pOgJJszFcOg8zrWi XWr2AHi+DGBfas6Ql4nPS7WryHDgYD/OGQv5mfvtc7pUNJjuJ5y/XSj7ZUzq/TeYCzL9 oCSlXQzKe5Mg5HBeFjWXhh4Zc8HZhLE0+A1fEqtKO6MJlsupuYQKZV5vSQAEkgXzVkJ8 QrhQ== X-Gm-Message-State: AOAM53214qCQMcuEScpfK5igzTpLwL48vQKYq4dwGiXIQmC9hURoEYkr P4EWQTPPIVbahtBYWZ7mojIYDmnSZZQ= X-Google-Smtp-Source: ABdhPJyF6nV5JmZBfnMzaUDVIwnsIwMyF8OIDQDEBTSF2C051EtyhyVUURxB5p1v7anDhopm+5pKkw== X-Received: by 2002:a17:906:7751:b0:6ce:e3c:81a6 with SMTP id o17-20020a170906775100b006ce0e3c81a6mr31063096ejn.278.1651163834063; Thu, 28 Apr 2022 09:37:14 -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 lz12-20020a170906fb0c00b006f3a36a9807sm190980ejb.19.2022.04.28.09.37.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 09:37:12 -0700 (PDT) Message-ID: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> Subject: The case for moving raw binaries From: Liliana Marie Prikler To: guix-devel@gnu.org Date: Thu, 28 Apr 2022 18:37:11 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::642; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x642.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=1651163849; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KsEY7zxsiyQWEqLZ/sWM5bImwrwyn612PtEqd5VUEkM=; b=uKZ49oNX2Jg7noeHgRCPsQYsp8TC2A0alh00lFuBUjLiPsqZZ7hVBQeT7pGkcsuCXrUzsZ Ld7T5NJcbF9qLFqNxi90tOCzvZ8pZIZARFaDuutzJQeOH844Y+OAyEjoBYoCmHKhOwkun1 kV9EEKs1xSzt2+w4JyuCgT0UFDEJsCdh502SndnDHujyRqITC3raE3Qm5HRbWn8GyIA+qK 3INb7pTI8H532+KWv1QZgu4vBgeEU50H78QxGv7MxTXszwsDzzEE3gGS9X+ygtpUOf31FO 3O1MP5jRIpPXhw/dWvZ+QF/fsOIhm2MwfYRP5EPoZyQjqBxNcSC0z92jXseBRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651163849; a=rsa-sha256; cv=none; b=NkYAt1FBKOH5KKAxJKtz/6Jxckam0XWI/mq+x/v6D9xjsUvh8hFUA3PsiULlKh3yOV+8D1 1QKbjvJP/AIidp3WCespPjbf22Uccp6uItPV7x1qYttb52wkiHSzyytFK7oZOlwbezu99+ Yn5fHXS1ZS6cyuN4UwegmGJIasVPIMZYkoim3JQsQzaxjneIRZxG63IOmO9sKrU7SO0WeC hiJ3daRF58zpxiPyWOzqJlItvvL+wZ9Ozpj76Ur1cZLeghm+k24kxgwyqT0AlVBA8LtKbg 28nkQXl/uZ3XPM18o0YZp78Nsn6bzzDvMYVQfes+fW/zcafsuLIVboCvmS4/Bw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oKZuyw6v; 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.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oKZuyw6v; 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: EDDF712FE4 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: Cf0Gm7ba40zv Hi Guix, "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. So, what's the fix? I propose moving rawbins to a different location. libexec would spring to mind as a place in which we could hide them, so would a new directory in the root of $PACKAGE. Other than that, adding a rawbin output would also be possible, but I am not certain whether that'd be the right tradeoff. So, what do you think? Any candidates for $RAWBIN_DIR that we can bikeshed? Any disagreements? Cheers