···33333434 preConfigure = ''
3535 sed -i -e "s|ecwolf.pk3|$out/share/ecwolf/ecwolf.pk3|" src/version.h
3636+ ''
3737+ # Disable app bundle creation on Darwin. It fails, and it is not needed to run it from the Nix store
3838+ + lib.optionalString (stdenv.isDarwin) ''
3939+ sed -i -e "s|include(\''${CMAKE_CURRENT_SOURCE_DIR}/macosx/install.txt)||" src/CMakeLists.txt
3640 '';
37413842 # Install the required PK3 file in the required data directory
···4650 homepage = "https://maniacsvault.net/ecwolf/";
4751 license = licenses.gpl2Plus;
4852 maintainers = with maintainers; [ sander ];
4949- # Darwin is untested (supported by upstream)
5053 platforms = platforms.all;
5154 };
5255}