#! /usr/bin/env bash
# SPDX-FileCopyrightText: 2022-2026 TII (SSRC) and the Ghaf contributors
# SPDX-License-Identifier: Apache-2.0

#try to use flake initially, fallback to non-flake use otherwise
if nix flake metadata &>/dev/null; then
  use flake
else
  use nix
fi
