direnv: always use 'nix-direnv'
This commit is contained in:
parent
453e5a925a
commit
8b7198d7e7
8
.envrc
8
.envrc
|
@ -1,8 +1,6 @@
|
||||||
use_flake() {
|
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
|
||||||
watch_file flake.nix
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
|
||||||
watch_file flake.lock
|
fi
|
||||||
eval "$(nix print-dev-env)"
|
|
||||||
}
|
|
||||||
|
|
||||||
use flake
|
use flake
|
||||||
eval "$shellHooks"
|
eval "$shellHooks"
|
||||||
|
|
Loading…
Reference in a new issue