summary refs log tree commit diff
path: root/shell.nix
diff options
context:
space:
mode:
authorLain Iwakura <lain@lainmail.xyz>2026-01-04 04:05:51 +0300
committerLain Iwakura <lain@lainmail.xyz>2026-01-04 04:05:51 +0300
commit91d930fab95479f377f4af4579042de10deeb9c3 (patch)
treef53b1b3f8733b97fc898d40960a117dff7a91556 /shell.nix
parentfix(deploy.sh): syntax (diff)
downloadtorus-91d930fab95479f377f4af4579042de10deeb9c3.tar.gz
torus-91d930fab95479f377f4af4579042de10deeb9c3.zip
fix(darwin): darwin configs
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..511a808
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,14 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+  buildInputs = with pkgs; [
+    ncurses
+    zlib
+    ctags
+  ];
+  
+  shellHook = ''
+    export NIX_CFLAGS_COMPILE="-I${pkgs.ncurses.dev}/include -I${pkgs.zlib.dev}/include"
+    export NIX_LDFLAGS="-L${pkgs.ncurses.out}/lib -L${pkgs.zlib.out}/lib"
+  '';
+}