chore: add .envrc
This commit is contained in:
parent
e5892bd8c2
commit
964ba901a6
2 changed files with 11 additions and 1 deletions
11
.envrc
Normal file
11
.envrc
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
|
||||||
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
|
||||||
|
fi
|
||||||
|
|
||||||
|
watch_file flake.nix
|
||||||
|
watch_file flake.lock
|
||||||
|
if ! use flake . --impure
|
||||||
|
then
|
||||||
|
echo "devenv could not be built. The devenv environment was not loaded." >&2
|
||||||
|
fi
|
||||||
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,6 +1,5 @@
|
||||||
/dist
|
/dist
|
||||||
result
|
result
|
||||||
.direnv/
|
.direnv/
|
||||||
.envrc
|
|
||||||
.devenv
|
.devenv
|
||||||
.pre-commit-config.yaml
|
.pre-commit-config.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue