From 1b5dc7982c301ab4605e0e3bfcda32f02d60181b Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 22 May 2024 01:11:53 +0200 Subject: [PATCH] bugdom: fix build on x86_64-darwin --- pkgs/top-level/all-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 494d34e3ff58..4918f0c9cf74 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -36527,7 +36527,8 @@ with pkgs; btanks = callPackage ../games/btanks { }; bugdom = callPackage ../games/bugdom { - inherit (darwin.apple_sdk.frameworks) IOKit Foundation OpenGL; + 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 { -- 2.11.4.GIT