diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9240c26 --- /dev/null +++ b/shell.nix @@ -0,0 +1,24 @@ +{ pkgs ? import {} }: + +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" + ''; +}