make-container: update extra-container version
Keep this file in sync with the latest extra-container update.
This commit is contained in:
parent
1c5154cfcf
commit
926f1febb7
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "extra-container";
|
pname = "extra-container";
|
||||||
|
# Update this file when changing the version: ../../test/lib/make-container.sh
|
||||||
version = "0.7";
|
version = "0.7";
|
||||||
|
|
||||||
src = builtins.fetchTarball {
|
src = builtins.fetchTarball {
|
||||||
|
@ -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.6*) ]]; then
|
if [[ ! ($containerBin && $(realpath $containerBin) == *extra-container-0.7*) ]]; then
|
||||||
echo "Building extra-container. Skip this step by adding extra-container 0.6 to PATH."
|
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
|
nix-build --out-link /tmp/extra-container "$scriptDir"/../pkgs -A extra-container >/dev/null
|
||||||
export PATH="/tmp/extra-container/bin${PATH:+:}$PATH"
|
export PATH="/tmp/extra-container/bin${PATH:+:}$PATH"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user