templates: simplify direnv files

I don't need to bootstrap `nix-direnv` for those projects.

Also remove the unused `watch_file flake/*.nix` directives, as they do
not exist in the templates.
This commit is contained in:
Bruno BELANYI 2023-05-10 13:05:57 +00:00
parent c8019f84bb
commit 9540b1424f
2 changed files with 0 additions and 14 deletions

View file

@ -1,10 +1,3 @@
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
use flake
watch_file ./flake/checks.nix
watch_file ./flake/dev-shells.nix
eval "$shellHooks"

View file

@ -1,10 +1,3 @@
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
use flake
watch_file ./flake/checks.nix
watch_file ./flake/dev-shells.nix
eval "$shellHooks"