GNU bug report logs - #58903
[PATCH] gnu: nix: Update to 2.11.1.

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sun, 30 Oct 2022 20:46:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 58903 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "58903 <at> debbugs.gnu.org" <58903 <at> debbugs.gnu.org>
Cc: "go.wigust <at> gmail.com" <go.wigust <at> gmail.com>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, "i <at> pengmeiyu.com" <i <at> pengmeiyu.com>
Subject: Specify the build dir for Nix
Date: Mon, 31 Oct 2022 15:37:09 +0000
[Message part 1 (text/plain, inline)]
Hello,

I'd like to upstream this patch to Nix service and hear your thoughts on the matter.

The issue is that there are some packages that fail to build even on realtively powerful machine due to resource exhaustion - not enough RAM.

The solution for that is to extract and build the derivation on block device instead of tmpfs.

The solution for this is to specify the environment variable TMPDIR​ and point it e.g. to `/var/tmp​`.

Unfortunately I'm not aware of any other way how to specify I'd like to build just this package in other directory (other than `/tmp`).

Also is there some other way how Guix handles this issue? I might be also used in Nix.

FIY the reason I have to use Nix is to build the Android image [1]

1 https://github.com/danielfullmer/robotnix

----
Petr
[Message part 2 (text/html, inline)]
[0001-services-nix-Add-more-configuration-fields.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.