make-container: update extra-container version

Keep this file in sync with the latest extra-container update.
This commit is contained in:
Erik Arvstedt 2021-09-03 13:19:28 +02:00
parent 1c5154cfcf
commit 926f1febb7
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
stdenv.mkDerivation rec {
pname = "extra-container";
# Update this file when changing the version: ../../test/lib/make-container.sh
version = "0.7";
src = builtins.fetchTarball {

View File

@ -77,8 +77,8 @@ while [[ $# > 0 ]]; do
done
containerBin=$(type -P extra-container) || true
if [[ ! ($containerBin && $(realpath $containerBin) == *extra-container-0.6*) ]]; then
echo "Building extra-container. Skip this step by adding extra-container 0.6 to PATH."
if [[ ! ($containerBin && $(realpath $containerBin) == *extra-container-0.7*) ]]; then
echo "Building extra-container. Skip this step by adding extra-container 0.7 to PATH."
nix-build --out-link /tmp/extra-container "$scriptDir"/../pkgs -A extra-container >/dev/null
export PATH="/tmp/extra-container/bin${PATH:+:}$PATH"
fi