aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/build-dir.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/rl-next/build-dir.md')
-rw-r--r--doc/manual/rl-next/build-dir.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/manual/rl-next/build-dir.md b/doc/manual/rl-next/build-dir.md
new file mode 100644
index 000000000..88bcd8da4
--- /dev/null
+++ b/doc/manual/rl-next/build-dir.md
@@ -0,0 +1,12 @@
+---
+synopsis: "Add a `build-dir` setting to set the backing directory for builds"
+cls: 1514
+credits: [roberth, tomberek]
+category: Improvements
+---
+
+`build-dir` can now be set in the Nix configuration to choose the backing directory for the build sandbox.
+This can be useful on systems with `/tmp` on tmpfs, or simply to relocate large builds to another disk.
+
+Also, `XDG_RUNTIME_DIR` is no longer considered when selecting the default temporary directory,
+as it's not intended to be used for large amounts of data.