diff options
Diffstat (limited to '.github/eval-flake.sh')
| -rwxr-xr-x | .github/eval-flake.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/.github/eval-flake.sh b/.github/eval-flake.sh deleted file mode 100755 index 57f52c3..0000000 --- a/.github/eval-flake.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -args=( - --gc-roots-dir gc-roots - --check-cache-status - --force-recurse - --option allow-import-from-derivation true - --option accept-flake-config true - --show-trace - --flake - '.#hydraJobs' -) - -jobs=$(nix-eval-jobs "${args[@]}" | tee eval.json | jq -s '.') - -errors=$(echo "$jobs" | jq -r '.[] | select(.error)') -[ "$errors" != "" ] && exit 1 - -echo "$jobs" | jq -c ' - def to_os: - if .system == "x86_64-linux" then "ubuntu-latest" - elif .system == "x86_64-darwin" then "macos-latest" - else null - end; - - { - "include": [ - .[] | { - attr, - isCached, - "os": to_os - } - ] - } -' |
