Add Nix shell file for building
This allows Blankart to be built on NixOS.
This commit is contained in:
parent
298849b70c
commit
2428325397
1 changed files with 7 additions and 0 deletions
7
shell.nix
Normal file
7
shell.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
with import <nixpkgs> {};
|
||||
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"];
|
||||
}
|
||||
Loading…
Reference in a new issue