yquake: fix on darwin

This commit is contained in:
Matthew Bauer 2019-04-22 22:53:17 -04:00
parent 9c662b149c
commit d3fa660288
2 changed files with 5 additions and 1 deletions

View file

@ -3,6 +3,7 @@
, oggSupport ? true, libogg, libvorbis
, openalSupport ? true, openal
, zipSupport ? true, zlib
, Cocoa, OpenAL
}:
let
@ -28,6 +29,7 @@ let
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 libGL ]
++ lib.optionals stdenv.isDarwin [ Cocoa OpenAL ]
++ lib.optionals oggSupport [ libogg libvorbis ]
++ lib.optional openalSupport openal
++ lib.optional zipSupport zlib;

View file

@ -21668,7 +21668,9 @@ in
xtris = callPackage ../games/xtris { };
inherit (callPackage ../games/quake2/yquake2 { })
inherit (callPackage ../games/quake2/yquake2 {
inherit (darwin.apple_sdk.frameworks) Cocoa OpenAL;
})
yquake2
yquake2-ctf
yquake2-ground-zero