Change which python is used in envrc python template

This commit is contained in:
Evie Litherland-Smith 2024-07-26 11:14:48 +01:00
parent 455ee99cf8
commit 2607b5ff8a

View file

@ -210,7 +210,7 @@ envrc-file-mode
"export LD_LIBRARY_PATH=\"$CC/lib\":\"$ZLIB/lib\"" n "export LD_LIBRARY_PATH=\"$CC/lib\":\"$ZLIB/lib\"" n
"VENV_DIR=.venv/" n "VENV_DIR=.venv/" n
"if [ ! -f $VENV_DIR/bin/python3 ]; then" 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 "fi" n
"source $VENV_DIR/bin/activate") "source $VENV_DIR/bin/activate")