aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-23 18:39:37 -0700
committerFuwn <[email protected]>2024-09-23 18:45:46 -0700
commit064b8ae9c76f94ee7679deb14a32c1bbd73847aa (patch)
treec5ab0833da607935aec922c1559e069f06e8d809 /.envrc
parentchore(whirl): remove custom allocators (diff)
downloadwhirl-064b8ae9c76f94ee7679deb14a32c1bbd73847aa.tar.xz
whirl-064b8ae9c76f94ee7679deb14a32c1bbd73847aa.zip
chore(nix): add nix development environment
Diffstat (limited to '.envrc')
-rw-r--r--.envrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..df422cf
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+if type -P lorri &>/dev/null; then
+ eval "$(lorri direnv)"
+else
+ echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
+
+ use nix
+fi