#1113700 Moving elsewhere the build area would be a nice idea

Package:
guix
Source:
guix
Description:
GNU Guix functional package manager
Submitter:
Francesco Paolo Lovergine
Date:
2025-09-01 10:21:03 UTC
Severity:
normal
#1113700#5
Date:
2025-09-01 09:41:57 UTC
From:
To:
Starting from trixie, the /tmp folder is now located on a tmpfs which by default has a size of 50%
of the available RAM. Note that guix-daemon by default again builds under /tmp and this can cause
problems when cospicous derivations are built from scratch, e.g. for linux kerneli and other beasts.

I would suggest to add a TMPDIR environment variable for the guix-daemon service and to move directly
elsewhere the base directory for such builds, e.g. /var/tmp/guix-builds/ or /var/cache/guix-builds/,
to be prepared for such goal at installation time. This is specifically useful when building ISO
image from guix-installer, but in general is an hidden issue to consider