Merge pull request #313368 from teidesu/zhf/bugdom

bugdom: fixed darwin build
This commit is contained in:
Weijia Wang
2024-05-22 02:28:31 +02:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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 = [
+2 -1
View File
@@ -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 {