summary refs log tree commit diff
path: root/.envrc
diff options
context:
space:
mode:
authorSophie Forrest <git@sophieforrest.com>2024-09-10 13:34:09 +1200
committerSophie Forrest <git@sophieforrest.com>2024-09-10 13:38:00 +1200
commit50e5cd743022ae5d28b477899c22b415afba12e1 (patch)
tree0d53ccc70d4f01776834f0d0edfadc1b1cb57292 /.envrc
parentc37c398a30f42da130142f0b2271d74b2c0465e1 (diff)
chore: use devenv
Diffstat (limited to '')
-rw-r--r--.envrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..76e39ee
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,6 @@
+watch_file flake.nix
+watch_file flake.lock
+if ! use flake . --impure
+then
+  echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
+fi