Browse Source

nix/shell.nix: add PYTHONPYCACHEPREFIX to environment

The MMGen Project 2 weeks ago
parent
commit
14b2eb48ab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      nix/shell.nix

+ 1 - 0
nix/shell.nix

@@ -38,6 +38,7 @@ pkgs.mkShellNoCC {
 
         pwd=$(pwd)
         export PYTHONPATH=$pwd
+        export PYTHONPYCACHEPREFIX=$HOME/.cache/pycache
         export PATH=$pwd/cmds:$pwd/.bin-override:$HOME/.local/bin:$PATH
         export LANG="en_US.UTF-8"