diff --git a/debian/setup-venv.sh b/debian/setup-venv.sh index 7b303de33..b5acb6dd0 100644 --- a/debian/setup-venv.sh +++ b/debian/setup-venv.sh @@ -11,7 +11,8 @@ WHEELS_DIR="/builder/securedrop-${NAME}/wheels" PIP_ARGS="--ignore-installed --no-index --find-links ${WHEELS_DIR} --no-deps --no-cache-dir --no-use-pep517" /usr/bin/python3 -m virtualenv $VENV_ARGS ./debian/securedrop-${NAME}/opt/venvs/securedrop-${NAME} -./debian/securedrop-${NAME}/opt/venvs/securedrop-${NAME}/bin/pip install $PIP_ARGS -r ${NAME}/build-requirements.txt +./debian/securedrop-${NAME}/opt/venvs/securedrop-${NAME}/bin/pip install $PIP_ARGS --require-hashes \ + -r ${NAME}/build-requirements.txt ./debian/securedrop-${NAME}/opt/venvs/securedrop-${NAME}/bin/pip install $PIP_ARGS ./${NAME} # Adjust paths to reflect installed paths