mar1d: add patch for Darwin
This commit is contained in:
parent
db82f16668
commit
760eabadbb
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user