yquake: fix on darwin

This commit is contained in:
Matthew Bauer
2019-04-26 21:55:06 -04:00
parent 9c662b149c
commit d3fa660288
2 changed files with 5 additions and 1 deletions
+2
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;