mar1d: add patch for Darwin

This commit is contained in:
Emily 2024-06-22 10:27:07 +01:00
parent db82f16668
commit 760eabadbb

View File

@ -8,6 +8,7 @@
, ninja
, pkg-config
, fetchFromGitHub
, fetchpatch
}:
stdenv.mkDerivation rec {
@ -30,6 +31,15 @@ stdenv.mkDerivation rec {
libGLU
];
patches = [
# Fix the build on Darwin.
# https://github.com/Radvendii/MAR1D/pull/4
(fetchpatch {
url = "https://github.com/Radvendii/MAR1D/commit/baf3269e90eca69f154a43c4c1ef14677a6300fd.patch";
hash = "sha256-ybdLA2sO8e0J7w4roSdMWn72OkttD3y+cJ3ScuGiHCI=";
})
];
meta = with lib; {
description = "First person Super Mario Bros";
mainProgram = "MAR1D";