lib/make-container: update required extra-container version

This commit is contained in:
Erik Arvstedt 2022-07-05 10:12:55 +02:00
parent f02f27cbca
commit a8255d61d7
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

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