From c61173308ac0d778004d39b45674ab2212181851 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Thu, 24 Apr 2025 18:16:15 +0100 Subject: [PATCH] adding shell.nix --- shell.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 shell.nix 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" + ''; +}