summary refs log tree commit diff
path: root/shell.nix
diff options
context:
space:
mode:
authorLain Iwakura <lain@lainmail.xyz>2026-01-04 14:09:00 +0300
committerLain Iwakura <lain@lainmail.xyz>2026-01-04 14:09:00 +0300
commit1ef7f328bc3ad76dcf0449a78a4e4ba9e9cb1762 (patch)
tree4f3c8a23e4c472f017e97f3087bd6f9e8225036b /shell.nix
parentMake copyrights consistent (diff)
downloadplay-1ef7f328bc3ad76dcf0449a78a4e4ba9e9cb1762.tar.gz
play-1ef7f328bc3ad76dcf0449a78a4e4ba9e9cb1762.zip
feat(linux): some patches
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"
+  '';
+}