diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-10-31 16:12:38 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-12-13 17:46:39 +0100 |
commit | 22acc0b0291cc067a6a3ce36c7ca8e5f68fe4db6 (patch) | |
tree | cf3da3536d9520527fa0261c25d3bd9c78506e87 /doc/guix.texi | |
parent | bbcd06e56c06376e640a7ac81a7109e7135a20f2 (diff) | |
download | guix-22acc0b0291cc067a6a3ce36c7ca8e5f68fe4db6.tar.gz |
services: nix: Add more configuration fields.
* gnu/services/nix.scm (<nix-configuration>)[build-directory]: New field. (nix-service-etc, nix-shepherd-service): Take them into account. * doc/guix.texi (Nix): Update it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index aacf748838..b270964542 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -37209,6 +37209,15 @@ The Nix package to use. @item @code{sandbox} (default: @code{#t}) Specifies whether builds are sandboxed by default. +@item @code{build-directory} (default: @code{"/tmp"}) +The directory where build directory are stored during builds. +This is useful to change if, for example, the default location does not +have enough space to hold build trees for big packages. + +This is similar to setting the @env{TMPDIR} environment variable for +@command{guix-daemon}. @ref{Build Environment Setup, @env{TMPDIR}}, +for more info. + @item @code{build-sandbox-items} (default: @code{'()}) This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file. |