We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0157d3f commit f991a4fCopy full SHA for f991a4f
.envrc
@@ -0,0 +1,13 @@
1
+if has nix; then
2
+ # Are flake supported and enabled?
3
+ if nix show-config | grep experimental-features | grep -q flakes; then
4
+ # Do we have nix-direnv?
5
+ if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
6
+ source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-gMHkKyEOq/T0XmHKgz+pN+fUQC/1EKPAuOtYM95lLnU="
7
+ fi
8
+
9
+ use flake
10
+ else
11
+ use nix
12
13
+fi
.gitignore
@@ -5,3 +5,5 @@ __pycache__
.pytest_cache
.mypy_cache
.ruff_cache
+.direnv
0 commit comments