Skip to content

Commit 9144bd9

Browse files
committed
nix: set nim cache to proper tmp directory
1 parent 35a33ad commit 9144bd9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nix/shell.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ in pkgs.mkShell {
2323
# Avoid compiling Nim itself.
2424
shellHook = ''
2525
export USE_SYSTEM_NIM=1
26+
export XDG_CACHE_HOME="$TMPDIR"
2627
'';
2728
}

0 commit comments

Comments
 (0)