extra-container: 0.5 -> 0.6

This commit is contained in:
Erik Arvstedt 2021-02-05 13:37:16 +01:00
parent c0abae97a4
commit c22adb03af
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 5 additions and 5 deletions

View File

@ -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 = ''

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.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