darwin.apple_sdk.frameworks.DisplayServices: init

Used by sketchybar
This commit is contained in:
luxus
2023-01-10 23:14:00 +08:00
committed by Zhong Jianxin
parent aa1d74709f
commit c40708f924
3 changed files with 6 additions and 1 deletions
@@ -174,6 +174,7 @@ in rec {
) // (
lib.mapAttrs privateFramework (import ./private-frameworks.nix {
inherit frameworks;
libobjc = pkgs.darwin.apple_sdk_11_0.objc4;
})
);
@@ -1,4 +1,4 @@
{ frameworks }: with frameworks;
{ frameworks, libobjc }: with frameworks;
# generated by hand to avoid exposing all private frameworks
# frameworks here are only the necessary ones used by public frameworks.
{
@@ -22,6 +22,9 @@
# Also expose DebugSymbols; used by `llvmPackages_8.lldb` package.
DebugSymbols = {};
# Also expose DisplayServices; used by `sketchybar` package.
DisplayServices = { inherit libobjc; };
# Also expose MultitouchSupport; used by `chuck` package.
MultitouchSupport = {};
}
@@ -330,6 +330,7 @@ in rec {
"ContactsPersistence"
"CoreSymbolication"
"DebugSymbols"
"DisplayServices"
"GameCenter"
"MultitouchSupport"
"SkyLight"