| 1 | # shellcheck shell=bash |
| 2 | # The Darwin package was evaluated when this derivation was; all that is |
| 3 | # left is to confirm it is the Darwin one and record which derivation it is. |
| 4 | # The values come from the derivation environment. |
| 5 | # shellcheck disable=SC2154 |
| 6 | if [ "$darwinSystem" != aarch64-darwin ]; then |
| 7 | echo "valley-darwin-eval: packages.aarch64-darwin.valley is for $darwinSystem" >&2 |
| 8 | exit 1 |
| 9 | fi |
| 10 | echo "$darwinDrv" > "$out" |