From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sO2DLlr4X2MkCAAAbAwnHQ (envelope-from ) for ; Mon, 31 Oct 2022 17:31:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6PuNLlr4X2NoJAAAauVa8A (envelope-from ) for ; Mon, 31 Oct 2022 17:31:22 +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 64231DADD for ; Mon, 31 Oct 2022 17:31:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opXgo-00039P-I2; Mon, 31 Oct 2022 12:31:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opXgm-0002tR-RH for guix-patches@gnu.org; Mon, 31 Oct 2022 12:31:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opXgk-0005ha-Uj for guix-patches@gnu.org; Mon, 31 Oct 2022 12:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opXgk-0002mJ-9n for guix-patches@gnu.org; Mon, 31 Oct 2022 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58903] Specify the build dir for Nix Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Oct 2022 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina Cc: "58903@debbugs.gnu.org" <58903@debbugs.gnu.org>, "go.wigust@gmail.com" , "i@pengmeiyu.com" Received: via spool by 58903-submit@debbugs.gnu.org id=B58903.166723380910547 (code B ref 58903); Mon, 31 Oct 2022 16:31:02 +0000 Received: (at 58903) by debbugs.gnu.org; 31 Oct 2022 16:30:09 +0000 Received: from localhost ([127.0.0.1]:41613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opXft-0002k3-1U for submit@debbugs.gnu.org; Mon, 31 Oct 2022 12:30:09 -0400 Received: from tobias.gr ([80.241.217.52]:45060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opXfp-0002jr-PM for 58903@debbugs.gnu.org; Mon, 31 Oct 2022 12:30:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=0MDJrPS943HiN oUCWFF43nNkcOLOyyq0fl5DFh8x64o=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=TSa1erMEYVbMH4BoCaDRNHzYIksYquMtMtjKJA u3+5NMF2AgxGerzV8fRD30sjvFX78o+XmMad9rZtF1tnkrrT1fWJ+FQB+MsUwIWyesNNI8 SkHUCKT6lZqOKS6ENkV1yrODG50FUIvVAAfc/Cdjr6k7gETJ8bFsV3kZWMQZXwjgbit1YY QORr9aLTsyP21xhB/FgcEl7sx5PMbIVRf0oRu+NZQCKNXv6gK6ccd2SDqDOAXqJ49FSync bfFUGv+jBLAwReUF+TRZSpjWUZz90grq3PxD1jGNssdumR34hJSrL67gwGhO/Oqrh2OKdT AnUbpMTupzvAknbAksRVVGiQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 78c0961b (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 31 Oct 2022 16:29:55 +0000 (UTC) References: <89-rZ-T-EfdANIf7D2MDU2c9GRrDND1-wshyPcAx6X4dE6AJnN-N9N2r_93XsmOnKcrGShflEKyle5bRxtumYcHvcgwwF_3DZvZUPOSLr70=@protonmail.com> Date: Mon, 31 Oct 2022 16:45:30 +0100 In-reply-to: <89-rZ-T-EfdANIf7D2MDU2c9GRrDND1-wshyPcAx6X4dE6AJnN-N9N2r_93XsmOnKcrGShflEKyle5bRxtumYcHvcgwwF_3DZvZUPOSLr70=@protonmail.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87sfj4551q.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org+larch=yhetil.org@gnu.org 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=1667233882; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=0MDJrPS943HiNoUCWFF43nNkcOLOyyq0fl5DFh8x64o=; b=WkTQot9kF2duE3DPW6LwVOKPlzKlFxWm87tILWYc2IpywsGXtVvCxd/zNGLNjXWyl9ZPPg X/3yd2E4XzdneWDUZVB8/bAIHeRWhxZXT2zoST+JroYC7cddLgtIzTef25TSIgIw/JJNlx w8zep8ZBmpRnWAIRhKLwFF38NQgDTj4RiT8QyyhtSVc6TNQZRZRgwGJafAjUSkiy0rWZzL 9dseJZ+VVRerE+u6Hcxc6WzauZyIVol5ulB03+F1ECDD7154i56MJzUFbtsnoib43rJKEn IKd+K6hHYxkdOl53U2r5O9cQKlV22qnj20Y9U6fbeN0ZU4Whn3Re/F1uiZiVAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667233882; a=rsa-sha256; cv=none; b=tm4Xnoc7zztyWPFggUcb6Nmahx2gelCT7tZlFB0efxNbIgyi+fUkhYtFWRXUiwBbpt9VF4 YWQIto0qW3Q0zhqARKfh1C2TC3vtjfl8Vw6Vm8g2J9jLJXEhZ3w8GNUiuN5eSWE0914yQS j3MUPMbZPe7USiharvwgRVt022vD/2Fgm3nZfURMg/YkItYCK7t80qf6Q/RCq9DuoRV+Jk wHC30DCZYepvXNG8ZB6b/APPJBD6mHMDwYc7SvIrI5+ydRO517U5u4ab8NTfEAEM40o//+ H/PIvwOjaSDJXjmu1hjVeog8kO4Z9x3cVVdtbGYJaj4qlKxcP4Y03gyeU3Kt8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=TSa1erME; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=TSa1erME; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 64231DADD X-Spam-Score: -4.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: GpFubevcAdh5 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Heyo, phodina =E5=86=99=E9=81=93=EF=BC=9A > The issue is that there are some packages that fail to build=20 > even on realtively powerful machine due to resource exhaustion -=20 > not enough > RAM. Yes, this is an issue in Guix as well, e.g., when building disc=20 images. > Unfortunately I'm not aware of any other way how to specify I'd=20 > like to build just this package in other directory (other than=20 > `/tmp`). > > Also is there some other way how Guix handles this issue? I=20 > might be also used in Nix. No, Guix uses the exact same mechanism (and possibly code),=20 inherited directly from Nix. > (build-dir nix-configuration-build-dir ;string > (default "/tmp")) =E2=80=98directory=E2=80=99. Plz, no unnec. abbrev. The concept LGTM. Calling it a =E2=80=98build directory=E2=80=99 might be= =20 editorialising too much. Does Nix use it for anything else? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY1/4Mg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15iFAA/jdb6Qxx5k3SJdf6O8YBJhKxYJAqaudN2zJPQ+R3 JwLsAP4/i3M++KaU5K5NcObe2M9C/sVDIXD8xDEh8LXLhW/TDQ== =OgbW -----END PGP SIGNATURE----- --=-=-=--