summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
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"
+ '';
+}