clan-core/.envrc
2024-07-08 16:25:16 +02:00

13 lines
376 B
Plaintext

# shellcheck shell=bash
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
fi
watch_file .direnv/selected-shell
if [ -e .direnv/selected-shell ]; then
use flake ".#$(cat .direnv/selected-shell)"
else
use flake
fi