From d50c1647ef4776e4990a35a97a130767e68d99ae Mon Sep 17 00:00:00 2001 From: Campbell Alden Date: Mon, 29 May 2023 14:23:47 +0900 Subject: [PATCH] Silence pip warning in nix-shell --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index a014cc0..473bd0b 100644 --- a/shell.nix +++ b/shell.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation { SOURCE_DATE_EPOCH=$(date +%s) # so that we can use python wheels virtualenv --no-setuptools venv > /dev/null export PATH=$PWD/venv/bin:$PATH > /dev/null + export PIP_DISABLE_PIP_VERSION_CHECK=1 pip install -r requirements.txt > /dev/null ''; }