gunk-dev/the-valley

valley-darwin-eval.sh

source00ee76e8c9e1main's published tip history
424 bytes
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
6if [ "$darwinSystem" != aarch64-darwin ]; then
7 echo "valley-darwin-eval: packages.aarch64-darwin.valley is for $darwinSystem" >&2
8 exit 1
9fi
10echo "$darwinDrv" > "$out"