From 8b2dd048d39db90d75640c382980d870d9da216c Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 20 Mar 2023 16:12:56 +0900 Subject: [PATCH] Fix shell.nix --- shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 777d543c..5b997638 100644 --- a/shell.nix +++ b/shell.nix @@ -12,13 +12,14 @@ in aspnetcore_6_0 ]) python3 + python3Packages.pip ]; shellHook = '' # Install python modules SOURCE_DATE_EPOCH=$(date +%s) if [ ! -d "${venvDir}" ]; then - ${pkgs.python3} -m venv "${venvDir}" + ${pkgs.python3}/bin/python3 -m venv "${venvDir}" fi source "${venvDir}/bin/activate" export PIP_DISABLE_PIP_VERSION_CHECK=1