Change which python is used in envrc python template
This commit is contained in:
parent
455ee99cf8
commit
2607b5ff8a
|
@ -210,7 +210,7 @@ envrc-file-mode
|
|||
"export LD_LIBRARY_PATH=\"$CC/lib\":\"$ZLIB/lib\"" n
|
||||
"VENV_DIR=.venv/" n
|
||||
"if [ ! -f $VENV_DIR/bin/python3 ]; then" n
|
||||
> "nix run nixpkgs#python3Full -- -m venv $VENV_DIR" n
|
||||
> "python3 -m venv $VENV_DIR" n
|
||||
"fi" n
|
||||
"source $VENV_DIR/bin/activate")
|
||||
|
||||
|
|
Loading…
Reference in a new issue