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 ms0.migadu.com with LMTPS id SNRpC1+r42FbogAAgWs5BA (envelope-from ) for ; Sun, 16 Jan 2022 06:21:35 +0100 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 aLPMCF+r42Gb8gAA9RJhRA (envelope-from ) for ; Sun, 16 Jan 2022 06:21:35 +0100 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 D61C38813 for ; Sun, 16 Jan 2022 06:21:34 +0100 (CET) Received: from localhost ([::1]:43054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8xyv-00032Y-VJ for larch@yhetil.org; Sun, 16 Jan 2022 00:21:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8xyJ-00032B-1B for guix-devel@gnu.org; Sun, 16 Jan 2022 00:20:55 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:32927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8xyG-0000Mq-W6 for guix-devel@gnu.org; Sun, 16 Jan 2022 00:20:54 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id F25A15C004B; Sun, 16 Jan 2022 00:20:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 16 Jan 2022 00:20:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=p5G/oOP3V4xWET6kY+sig924V0D881sBshTiF8Bkvzs=; b=fH7k7DRNDI4O ALyTo6O3f/X00yAEztopR5OIu43O5f+e3IjZPqz+Q6UBCk48aYNjHdIm7K7DNb+c ZTZsMMlAx2JhneuNncEB8uNUP7epOzbX7XgdHPr5QrwXY0YVtS0KVTuyTBTPDUPC s4MYb5Kw91uRaxVmp3CuGxKkf2/Cbao= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=p5G/oOP3V4xWET6kY+sig924V0D881sBshTiF8Bkv zs=; b=ISDp4s+rQ7O6TzqrOqQHBSEcYmjb3QFEaYM3VofRTPPlCGYHz1xvbG/rl E2uGFy4Kl3EKN95BI46jZfautnrXxzvMyescbaoI14UHhHSP0P5HYFcxA6nYFcCq kYk202v/xXCTcdWN7yO17mQp19A9ZhvIMIuwz9Ut7uybimQ5fPXrAQtpeUOuS/kd CcCzqLzhLAzZr8/9IIOD1adaU5/b9RVZtxtNFVkN/e3pLDGq/BOYfpnuwTnJ9FXb UfMeaHwuLplzNhYhmuz/5OO674oGpdfFM3U6Nm9scZx8Ry/luethlwh8NdRAFEh8 ooGfH/6xZp23bxtHKeYWbhx7xiOSA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdekgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesthekre dttddtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepgeejgeeghedtudfgffdutddvffefff ejkeffffevffehgedvvdeutdffkeejjeejnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 16 Jan 2022 00:20:51 -0500 (EST) Date: Sun, 16 Jan 2022 00:20:49 -0500 From: Leo Famulari To: Matt Subject: Re: Document /homeless-shelter? Message-ID: References: <17e60e604fa.d4b620b31007437.5972832998992327822@excalamus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <17e60e604fa.d4b620b31007437.5972832998992327822@excalamus.com> Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642310494; 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=p5G/oOP3V4xWET6kY+sig924V0D881sBshTiF8Bkvzs=; b=o7SDAaRvWGLTCqrz9IXHsmAFRCUH6DflS6DJ7Hw3liAr+L9AEVbaPjP/IUD6ZliG8lWvOq sxo/Ehz5AXLqBttPreAGcEs3PVjDmQs5PgQU2BfRxJz68kHF4HSFFVJZU1xaUhj82BdJTZ EvFZN4NJbVwK6KgEUICkp8Czvmp8loOZLqpC30JS3XqhTcGKRdWV6X3XZhDaikF6zW5d2Z 4MAM/ZkTnV6e7zwvfQw8fe1tq1px5Dh/uc/JiQZdfikMvHOez8cEF7wdeY0zI58h7u0v49 M1XHKOpL2fDpL2N28gACVrB3S1cJjhA6aMHFBkPHMQn1WT9ernQTo8Uy2YdRag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642310494; a=rsa-sha256; cv=none; b=RA419ZCdMlizD44bMhtoo4eTepiSvB35YiLSor04fkAA8CkBtS9jDKk+/Dpmm9rdToFeCf cHAy3lz+lo6z8XBLTsdfD2xmwMl2ilt2JM0ERJ2UIOfULt2skDhpMfzQ5V6B95w7/DEpmF Fvz6q33+LVy73vIQBFQfXIscHY4ELlS9I2jDOpQv7nnGsU8GOwgncYW2XEuy0J19lmyusX vrPBzrNDvwmyUJf49HY+TONefQUf6Ed2OKf77CRr0xXMNH3H9+CT01QZ2c1Jncau2Yo8VM 4L5JWfSaWbG4MrHGtvas3H0zVfKoJrtkW+KfW3tZ02psJhgRHg603F2MbQ4OYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=fH7k7DRN; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=ISDp4s+r; dmarc=none; 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: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=fH7k7DRN; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=ISDp4s+r; dmarc=none; 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: D61C38813 X-Spam-Score: -3.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: PAcKyZVPhhhn On Sat, Jan 15, 2022 at 10:19:54PM -0500, Matt wrote: > As I understand it, $HOME is set to /homeless-shelter during build because that's how Nix does/did it and "there’s no home > directory in build environments, and perhaps Eelco Dolstra and others back then found that setting ‘HOME’ to a non-existing directory broke > fewer builds that leaving it unset." A further rationale is that by using an obviously strange and bogus value for $HOME, all uses of $HOME in the build container are highlighted. Otherwise, if $HOME was unset, build scripts might fall back to something like $HOME/$USER. To be clear, the situation is not simply that "there's no home directory in the build environment". Rather, there must not be a home directory there. By design, that's a small part of how we ensure that builds are deterministic. In all cases, package builds should not be able to depend on the pathname of a home directory. > Is this something that should be documented, and if so, where? It could be documented briefly in the manual section Build Environment Setup.