#! /usr/bin/env sh git_root="$(git rev-parse --show-toplevel)" fmt_check() { echo ".#checks.x86_64-linux.$1" } nix eval \ --file "$git_root/scripts/check_get_tests.nix" \ --raw | while read -r test; do echo "Building test '$test'..." test="$(fmt_check "$test")" nix build \ --option max-jobs 1 \ --print-out-paths --no-link \ "$test" done