diff options
author | aszlig <aszlig@nix.build> | 2017-11-30 09:16:49 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2017-11-30 13:22:09 +0100 |
commit | 2df7436fb32cf7ac871b1143a8270f8cfa16b7e1 (patch) | |
tree | 406a7a9cc5a8f5e5192d1f732bac95d05fa7b858 /pkgs/build-support/build-sandbox/src/sandbox.c | |
parent | 947cd56bd8872d8e19bc196d925a1e0886555ec3 (diff) |
pkgs/sandbox: Add handling for XDG_CACHE_HOME
We only handle XDG_DATA_HOME and XDG_CONFIG_HOME, but we've missed XDG_CACHE_HOME. While the latter is used very rarely as it doesn't matter a lot if it ends up within a tmpfs anyway. However if the cache directory gets pretty large we might run out of space. Not only do we now have proper fallbacks but this also adds tests for all of the XDG environment variables we're using. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/build-support/build-sandbox/src/sandbox.c')
0 files changed, 0 insertions, 0 deletions