default.nix: avoid more warnings in sandboxed builds
This commit is contained in:
parent
a8a35bc783
commit
27e3ffc7b7
@ -58,7 +58,12 @@ in
|
|||||||
FONTCONFIG_FILE = pkgs.makeFontsConf {
|
FONTCONFIG_FILE = pkgs.makeFontsConf {
|
||||||
fontDirectories = with pkgs; [ libertinus julia-mono ];
|
fontDirectories = with pkgs; [ libertinus julia-mono ];
|
||||||
};
|
};
|
||||||
XDG_CACHE_HOME = "$NIX_BUILD_TOP";
|
|
||||||
|
preConfigure = ''
|
||||||
|
# set directories for temporary files
|
||||||
|
export XDG_CACHE_HOME=$NIX_BUILD_TOP
|
||||||
|
export XDG_CONFIG_HOME=$NIX_BUILD_TOP
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user