about summary refs log tree commit diff
path: root/.envrc
blob: 9ae9b76cf6514b1d45332f5fcedb0867fbf229f5 (plain) (blame)
1
2
3
4
5
6
7
8
if has nix; then
    if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then
        source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" \
            "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
    fi
    nix_direnv_watch_file ./shell.nix
    use flake .
fi