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 {
|
||||
pname = "extra-container";
|
||||
# Update this file when changing the version: ../../test/lib/make-container.sh
|
||||
version = "0.7";
|
||||
|
||||
src = builtins.fetchTarball {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user