mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 06:17:42 +00:00
keybase: add missing darwin framework
This commit is contained in:
parent
45fdebdfba
commit
35d2ffe69d
@ -1,5 +1,5 @@
|
||||
{ stdenv, substituteAll, lib, buildGoModule, fetchFromGitHub
|
||||
, AVFoundation, AudioToolbox, ImageIO, CoreMedia
|
||||
, AppKit, AVFoundation, AudioToolbox, ImageIO, CoreMedia
|
||||
, Foundation, CoreGraphics, MediaToolbox, gnupg
|
||||
}:
|
||||
|
||||
@ -28,7 +28,7 @@ buildGoModule rec {
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ AppKit AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox ];
|
||||
tags = [ "production" ];
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
|
@ -9447,7 +9447,7 @@ with pkgs;
|
||||
# 2. the rest are added from here: https://github.com/keybase/client/blob/68bb8c893c5214040d86ea36f2f86fbb7fac8d39/go/chat/attachments/preview_darwin.go#L7
|
||||
# #cgo LDFLAGS: -framework AVFoundation -framework CoreFoundation -framework ImageIO -framework CoreMedia -framework Foundation -framework CoreGraphics -lobjc
|
||||
# with the exception of CoreFoundation, due to the warning in https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/darwin/apple-sdk/frameworks.nix#L25
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox;
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) AppKit AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox;
|
||||
};
|
||||
|
||||
kbfs = callPackage ../tools/security/keybase/kbfs.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user