aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-30 02:34:59 +0000
committerFuwn <[email protected]>2024-09-30 02:34:59 +0000
commitd8dbcc4ed9dccb3c08fa0c15b10bdc9625c3c181 (patch)
treef190033d181b27639ed49b66c8088d58477425cb /.envrc
parentbuild(docker): add simple build.ninja for Dockerfile (diff)
downloadmaple-d8dbcc4ed9dccb3c08fa0c15b10bdc9625c3c181.tar.xz
maple-d8dbcc4ed9dccb3c08fa0c15b10bdc9625c3c181.zip
chore(nix): set up flake
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..7e4312b
--- /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 flake
+fi