#!/usr/bin/env bash
set -euo pipefail
# Docs: https://direnv.net/
dotenv_if_exists .env
if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8="
fi
watch_file devenv.nix
use flake . --impure