summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorLucas Faria Mendes <dsn.lucas@proton.me>2026-02-19 17:53:40 +0000
committerLucas Faria Mendes <dsn.lucas@proton.me>2026-02-19 17:53:40 +0000
commit7775275046c956e8458921405ac257deeda86747 (patch)
tree512b6236b8cdc3dff80a49e0fe0c794875682136 /shell.nix
parent8b2818d1a237a12f54b3ef03f565642700d59a6d (diff)
downloadclaude-zig-7775275046c956e8458921405ac257deeda86747.tar.gz
claude-zig-7775275046c956e8458921405ac257deeda86747.zip
Add function definition for file reading and create shell environment setup
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..aff439f
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,15 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+ buildInputs = with pkgs; [
+ zig_0_15 # Zig 0.15.2
+ curl # HTTP requests / debugging
+ jq # JSON pretty-printing / debugging
+ git # Version control
+ zls # Zig Language Server (LSP)
+ ];
+
+ shellHook = ''
+ echo "Zig $(zig version) ready"
+ '';
+}