extra-container: 0.5 -> 0.6
This commit is contained in:
parent
c0abae97a4
commit
c22adb03af
|
@ -3,12 +3,12 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "extra-container-${version}";
|
pname = "extra-container";
|
||||||
version = "0.5";
|
version = "0.6";
|
||||||
|
|
||||||
src = builtins.fetchTarball {
|
src = builtins.fetchTarball {
|
||||||
url = "https://github.com/erikarvstedt/extra-container/archive/${version}.tar.gz";
|
url = "https://github.com/erikarvstedt/extra-container/archive/${version}.tar.gz";
|
||||||
sha256 = "12xqa11v583ajdv51g1833rxvrndmly9h4r62wc3llm8xs6k7ais";
|
sha256 = "0hm4xfjbqjrrq7n1pkbs33lpw9k5q3ms3psprqhfsxkkwzy78zlm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
|
|
@ -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.5*) ]]; then
|
if [[ ! ($containerBin && $(realpath $containerBin) == *extra-container-0.6*) ]]; then
|
||||||
echo "Building extra-container. Skip this step by adding extra-container 0.5 to PATH."
|
echo "Building extra-container. Skip this step by adding extra-container 0.6 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