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:
parent
c8019f84bb
commit
9540b1424f
2 changed files with 0 additions and 14 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue