This commit is contained in:
@@ -5,6 +5,13 @@ set -euo pipefail
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
source "$REPO_ROOT/scripts/common.sh"
|
||||
|
||||
if [[ "$ELSWORD_GE_VERSION" != "10-34" || "$PROTON_TAG" != "GE-Proton10-34" ]]; then
|
||||
printf 'expected GE-Proton10-34 default, got version=%s tag=%s\n' "$ELSWORD_GE_VERSION" "$PROTON_TAG" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf 'Proton base is pinned to %s\n' "$PROTON_TAG"
|
||||
|
||||
expected_tag="latest"
|
||||
actual_tag="$(dxvk_tag_for_variant stable)"
|
||||
|
||||
@@ -14,3 +21,17 @@ if [[ "$actual_tag" != "$expected_tag" ]]; then
|
||||
fi
|
||||
|
||||
printf 'stable DXVK tag resolves dynamically as %s\n' "$actual_tag"
|
||||
|
||||
flake_file="$REPO_ROOT/flake.nix"
|
||||
|
||||
if ! rg -Fq 'MINGW_PTHREAD_ROOT = mingwPthreadRoot;' "$flake_file"; then
|
||||
printf 'Nix shell must provide the MinGW pthread compatibility directory\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! rg -Fq '${MINGW_PTHREAD_ROOT:-}/$arch_dir/$dll' "$REPO_ROOT/scripts/common.sh"; then
|
||||
printf 'runtime dependency lookup must use the Nix shell MinGW directory\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf 'Nix shell provides the MinGW pthread compatibility directory\n'
|
||||
|
||||
Reference in New Issue
Block a user