openrw: move cmake to nativeBuildInputs, fix on darwin
Darwin fix as suggested by @risicle
This commit is contained in:
parent
3affc7fb8f
commit
ddbf53b855
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchgit, cmake, sfml, libGLU_combined, bullet, glm, libmad, xlibsWrapper, openal
|
||||
, SDL2, boost, ffmpeg }:
|
||||
, SDL2, boost, ffmpeg, Cocoa, OpenAL }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "2019-10-26";
|
||||
@ -12,9 +12,11 @@ stdenv.mkDerivation {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
cmake sfml libGLU_combined bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg
|
||||
];
|
||||
sfml libGLU_combined bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";
|
||||
|
@ -22545,7 +22545,9 @@ in
|
||||
|
||||
openra = openraPackages.engines.release;
|
||||
|
||||
openrw = callPackage ../games/openrw { };
|
||||
openrw = callPackage ../games/openrw {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa OpenAL;
|
||||
};
|
||||
|
||||
openspades = callPackage ../games/openspades {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
|
Loading…
Reference in New Issue
Block a user