From f61b81e0e86d223e0ef8926199ba7f4e2756f83d Mon Sep 17 00:00:00 2001 From: Krutonium Date: Wed, 27 Dec 2023 18:12:23 -0500 Subject: [PATCH] Add shell.nix for easy building --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..d24f3373 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + nativeBuildInputs = with pkgs.buildPackages; + [ gcc + clang + SDL2.dev + gnumake + (python311.withPackages(ps: with ps; [ pillow pyyaml ])) + ]; + + # To build, make sure you have the ROM in place, then run `make -j16` +}