aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 29da48d4..00cc6f20 100644
--- a/.envrc
+++ b/.envrc
@@ -1,2 +1,5 @@
watch_file shell.nix
-use flake
+watch_file flake.lock
+
+# try to use flakes, if it fails use normal nix (ie. shell.nix)
+use flake || use nix