mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
skhd: darwin sdk refactor
Requires 10.13 minimum
This commit is contained in:
parent
f00f17fe6a
commit
6d2334ef22
@ -1,18 +1,13 @@
|
||||
{
|
||||
lib,
|
||||
overrideSDK,
|
||||
stdenv,
|
||||
darwin,
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
darwinMinVersionHook,
|
||||
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 +19,8 @@ stdenv'.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
Carbon
|
||||
Cocoa
|
||||
apple-sdk_11
|
||||
(darwinMinVersionHook "10.13")
|
||||
];
|
||||
|
||||
makeFlags = [ "BUILD_PATH=$(out)/bin" ];
|
||||
|
Loading…
Reference in New Issue
Block a user