aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-15 09:55:20 +0900
committernsfisis <nsfisis@gmail.com>2026-08-15 09:55:41 +0900
commit8bb270de6835a00ac3413988c3955c19cfa0d97e (patch)
treee51e7f4529d66f3703994db399672b9329139e1f /.envrc
parent592ab8b1a2d73a1f77db8a7b7e17238ce3577030 (diff)
downloadphp-shirabe-8bb270de6835a00ac3413988c3955c19cfa0d97e.tar.gz
php-shirabe-8bb270de6835a00ac3413988c3955c19cfa0d97e.tar.zst
php-shirabe-8bb270de6835a00ac3413988c3955c19cfa0d97e.zip
build(nix): add a Nix flake providing the dev shell and formatters
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to '.envrc')
-rw-r--r--.envrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 00000000..a3d54537
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,5 @@
+# shellcheck shell=bash
+if ! has nix_direnv_version || ! nix_direnv_version 3.2.0; then
+ source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.2.0/direnvrc" "sha256-hW6NC1JHue3IjZN3uDM6l6I2PMaauqd2D7hXYJ1Zfr4="
+fi
+use flake