templates: simplify direnv configurations
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This was mostly a copy-paste error (the `watch_file` calls). As for the shell hooks, it looks like `nix-direnv` takes care of that automatically.
This commit is contained in:
parent
e09899d59c
commit
aca743dea7
2 changed files with 0 additions and 10 deletions
|
|
@ -3,8 +3,3 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
use flake
|
use flake
|
||||||
|
|
||||||
watch_file ./flake/checks.nix
|
|
||||||
watch_file ./flake/dev-shells.nix
|
|
||||||
|
|
||||||
eval "$shellHooks"
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,3 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
use flake
|
use flake
|
||||||
|
|
||||||
watch_file ./flake/checks.nix
|
|
||||||
watch_file ./flake/dev-shells.nix
|
|
||||||
|
|
||||||
eval "$shellHooks"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue