Work around a nix-direnv issue

https://github.com/nix-community/nix-direnv/issues/109
This commit is contained in:
Blaž Hrastnik 2022-02-25 18:01:47 +09:00
parent 66637be700
commit 78a6f77e99
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

1
.envrc
View File

@ -3,3 +3,4 @@ watch_file flake.lock
# try to use flakes, if it fails use normal nix (ie. shell.nix) # try to use flakes, if it fails use normal nix (ie. shell.nix)
use flake || use nix use flake || use nix
eval "$shellHook"