From 24283253970ceb3d75406f78f3b8d2171f8b181f Mon Sep 17 00:00:00 2001 From: Gemini0 Date: Mon, 2 Mar 2026 18:27:07 +0100 Subject: [PATCH] Add Nix shell file for building This allows Blankart to be built on NixOS. --- shell.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 000000000..a98e1d32d --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +with import {}; +stdenv.mkDerivation { + name = "blankart-env"; + buildInputs = [ cmake gcc ninja sdl3 zlib libpng openal libsndfile miniupnpc curl libopenmpt game-music-emu ]; + # cmake flags, add -DSRB2_CONFIG_NOVERIFYIWADS=ON to build without IWAD verification + cmakeFlags = ["-DSDL3_INCLUDE_DIR=${lib.getDev sdl3}/include -DOPENMPT_INCLUDE_DIR=${lib.getDev libopenmpt}/include"]; +}