Skip to content

Commit

Permalink
skhd: switch to apple-sdk_11
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 31, 2024
1 parent f00f17f commit 8759ee1
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pkgs/by-name/sk/skhd/package.nix
Original file line number Diff line number Diff line change
@@ -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";

Expand All @@ -24,8 +18,7 @@ stdenv'.mkDerivation (finalAttrs: {
};

buildInputs = [
Carbon
Cocoa
apple-sdk_11
];

makeFlags = [ "BUILD_PATH=$(out)/bin" ];
Expand Down

0 comments on commit 8759ee1

Please sign in to comment.