Merge pull request #313368 from teidesu/zhf/bugdom
bugdom: fixed darwin build
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, SDL2, IOKit, Foundation, cmake, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, SDL2, IOKit, Foundation, OpenGL, cmake, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bugdom";
|
||||
@@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
IOKit
|
||||
Foundation
|
||||
OpenGL
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -36554,7 +36554,8 @@ with pkgs;
|
||||
btanks = callPackage ../games/btanks { };
|
||||
|
||||
bugdom = callPackage ../games/bugdom {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit Foundation;
|
||||
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) IOKit Foundation OpenGL;
|
||||
};
|
||||
|
||||
bzflag = callPackage ../games/bzflag {
|
||||
|
||||
Reference in New Issue
Block a user