aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorYusuf Bera Ertan2021-06-13 05:03:42 +0000
committerBlaž Hrastnik2021-06-13 05:46:51 +0000
commita3f01503e28ee3bcbfd14e9753a1c135bbba49e7 (patch)
treed2002b3343b337cf203ba19f69fe53a8ad38f3ba /.envrc
parent9640ed1425f2db904fb42cd0c54dc6fbc05ca292 (diff)
build(nix): use nix-cargo-integration, make shell.nix use flake devshell
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