소스 검색

adding shell.nix

Bernardo Magri 8 달 전
부모
커밋
c61173308a
1개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. 24 0
      shell.nix

+ 24 - 0
shell.nix

@@ -0,0 +1,24 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+  buildInputs = with pkgs; [
+    meson
+    ninja
+    pkg-config
+    gtk4
+    gtkmm4
+    libsigcxx
+    
+    # Development tools
+    gdb
+    valgrind
+    clang-tools
+  ];
+
+  shellHook = ''
+    echo "MineSweeper Development Environment"
+    echo "=================================="
+    echo "Build with: meson setup build && meson compile -C build"
+    echo "Run with: ./build/minesweeper"
+  '';
+}