diff options
| author | seth <[email protected]> | 2023-12-29 05:29:49 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-29 05:36:17 -0500 |
| commit | 63e54a973389d5c676f6a073ccd166000a3be76e (patch) | |
| tree | 80b696cc8d6239eecf953bb0756e6254d7e4eec4 /.github/eval-flake.sh | |
| parent | 4c86caefc587fafd7050b1407be7508a01622b6d (diff) | |
ci: use nix-fast-build
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 - } - ] - } -' |
