aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/build-dir.md
blob: 88bcd8da4180d9ced479b78389587a36c29fd859 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.