release.nix -> default.nix

the default should be to build all the images
This commit is contained in:
zimbatm 2019-12-17 23:29:41 +01:00
parent 987c5c9460
commit f90912f967
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
9 changed files with 19 additions and 19 deletions

View file

@ -15,7 +15,7 @@ nix_eval() {
nix-instantiate --strict --eval --json "$@"
}
releases_json=$(nix_eval release.nix)
releases_json=$(nix_eval)
to_json() {
local desc=$1 full_desc=$2
@ -29,7 +29,7 @@ echo "=== Updating Docker Hub project descriptions"
for attr in $(echo "$releases_json" | jq -r "keys[]") ; do
echo "--- $attr"
desc=$(nix_eval ./release.nix -A "$attr.meta.description" | jq -r .)
desc=$(nix_eval -A "$attr.meta.description" | jq -r .)
if [[ -f "$attr/README.md" ]]; then
full_desc=$(< "$attr/README.md")