help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Few questions


From: Michael Rohleder
Subject: Re: Few questions
Date: Tue, 12 May 2020 11:49:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Emmanuel Medernach <address@hidden> writes:
>> > - How to replace /tmp during build with another partition to avoid
>> filling
>> > it ?
>>
>> I do not know.
>>
>>
> Or could it be added as an installation option ?

From the manual (2.5):
"When the daemon performs a build on behalf of the user, it creates a
build directory under /tmp or under the directory specified by its
TMPDIR environment variable."

If you are on a foreign distro, you can add
export TMPDIR="/yourBigAndFastDisk"
to the init/start script of the guix-daemon.

If you are on a guix system (or guix generated vm etc), you can add
(service guix-service-type
         (guix-configuration
           (tmpdir "/yourBigAndFastDisk")))

to your services.


-- 
I've finally learned what "upward compatible" means.  It means we get to
keep all our old mistakes.
                -- Dennie van Tassel

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]