docker cron: ensure nix tools are installed (#4024)

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2020-01-13 15:05:15 +01:00 committed by mergify[bot]
parent 3ec35be3de
commit e3ec25333e

View File

@ -68,6 +68,7 @@ jobs:
# >= 0.13.43 are built this way.
for version in $(echo $RELEASES | sed -e 's/ /\n/g'); do
git checkout "$version"
while ! nix-build -A tools -A cached nix; do; done
LAST_UPDATE=$(echo $VERSIONS | jq -r '.results[] | select(.name == "'${version#v}'") | .last_updated')
if [[ -n "$LAST_UPDATE" ]]; then
echo "${version#v} already exists, skipping."