nix nit: reset TMPDIR/TMP in shell4-osx for long-running emacs
This commit is contained in:
parent
17f9010997
commit
29c15f3f70
1 changed files with 4 additions and 0 deletions
|
|
@ -783,6 +783,10 @@ in
|
|||
|
||||
# dependencies on host system libraries
|
||||
# glpath = pkgs.lib.makeLibraryPath [ ];
|
||||
|
||||
# choose a temp directory that can outlive nix-shell
|
||||
export TMPDIR=$(getconf DARWIN_USER_TEMP_DIR)
|
||||
export TMP=$TMPDIR
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue