#!/usr/bin/env bash
set -euo pipefail

# Integration Test Matrix gate (chainfire→flaredb→plasmavmc→creditservice→nightlight)
#
# Nix-first entrypoint:
#   nix run '.#integration-matrix'
#
# This file remains as a thin compatibility wrapper. The source of truth is `flake.nix`.

if ! command -v nix >/dev/null 2>&1; then
  echo "ERROR: nix not found. Please install Nix and run: nix run '.#integration-matrix'" >&2
  exit 127
fi

exec nix run .#integration-matrix -- "$@"
