From 8759ee1dd7d033848f31ab9e6fff06a077eeb458 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 31 Oct 2024 09:41:27 -0500 Subject: [PATCH] skhd: switch to apple-sdk_11 --- pkgs/by-name/sk/skhd/package.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/sk/skhd/package.nix b/pkgs/by-name/sk/skhd/package.nix index 1876a43916a74..ac68a15d9cb84 100644 --- a/pkgs/by-name/sk/skhd/package.nix +++ b/pkgs/by-name/sk/skhd/package.nix @@ -1,18 +1,12 @@ { lib, - overrideSDK, stdenv, - darwin, fetchFromGitHub, testers, nix-update-script, + apple-sdk_11, }: -let - inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa; - - stdenv' = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; -in -stdenv'.mkDerivation (finalAttrs: { +stdenv.mkDerivation (finalAttrs: { pname = "skhd"; version = "0.3.9"; @@ -24,8 +18,7 @@ stdenv'.mkDerivation (finalAttrs: { }; buildInputs = [ - Carbon - Cocoa + apple-sdk_11 ]; makeFlags = [ "BUILD_PATH=$(out)/bin" ];