We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec7953 commit e22633bCopy full SHA for e22633b
1 file changed
template/.envrc
@@ -1,5 +1,7 @@
1
-if ! has nix_direnv_version || ! nix_direnv_version 1.3.0; then
2
- source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.3.0/direnvrc" "sha256-1VWM1BnI1GvclYBky5f5Y9HqeThmQUwCWQbsFQM1Eu0="
+if [[ $(type -t use_flake) != function ]]; then
+ echo "ERROR: use_flake function missing."
3
+ echo "Please update direnv to v2.30.0 or later."
4
+ exit 1
5
fi
6
7
use flake
0 commit comments