noti: remove cf-private

This commit is contained in:
Daiderd Jordan 2019-06-19 19:49:59 +02:00
parent 6172dd89c8
commit 11bd54cda3
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, cf-private, Cocoa }:
{ stdenv, buildGoPackage, fetchFromGitHub, Cocoa }:
buildGoPackage rec {
name = "noti-${version}";
@ -11,7 +11,7 @@ buildGoPackage rec {
sha256 = "1chsqfqk0pnhx5k2nr4c16cpb8m6zv69l1jvv4v4903zgfzcm823";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Cocoa cf-private /* For OBJC_CLASS_$_NSDate */ ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
# TODO: Remove this when we update apple_sdk
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isDarwin [ "-fno-objc-arc" ];

View File

@ -1739,7 +1739,6 @@ in
noteshrink = callPackage ../tools/misc/noteshrink { };
noti = callPackage ../tools/misc/noti {
inherit (darwin) cf-private;
inherit (darwin.apple_sdk.frameworks) Cocoa;
};