darwin.trash: add cf-private
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSMutableArray", referenced from: objc-class-ref in trash-571f39.o "_OBJC_CLASS_$_NSURL", referenced from: objc-class-ref in trash-571f39.o "_OBJC_CLASS_$_NSUserDefaults", referenced from: objc-class-ref in trash-571f39.o objc-class-ref in HGCLIUtils-31f3b3.o ld: symbol(s) not found for architecture x86_64
This commit is contained in:
parent
16a54d6b2b
commit
ee1c6f62f8
@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, frameworks, perl } :
|
||||
{ stdenv, fetchFromGitHub, perl, cf-private, AppKit, Cocoa, ScriptingBridge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.1";
|
||||
name = "trash-${version}";
|
||||
@ -10,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0ylkf7jxfy1pj7i1s48w28kzqjdfd57m2pw0jycsgcj5bkzwll41";
|
||||
};
|
||||
|
||||
buildInputs = with frameworks; [
|
||||
Cocoa
|
||||
AppKit
|
||||
ScriptingBridge
|
||||
buildInputs = [
|
||||
perl
|
||||
Cocoa AppKit ScriptingBridge
|
||||
# Neded for OBJC_CLASS_$_NSMutableArray symbols.
|
||||
cf-private
|
||||
];
|
||||
|
||||
patches = [ ./trash.diff ];
|
||||
|
@ -66,7 +66,7 @@ in
|
||||
|
||||
stubs = callPackages ../os-specific/darwin/stubs { };
|
||||
|
||||
trash = callPackage ../os-specific/darwin/trash { inherit (darwin.apple_sdk) frameworks; };
|
||||
trash = darwin.callPackage ../os-specific/darwin/trash { };
|
||||
|
||||
usr-include = callPackage ../os-specific/darwin/usr-include { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user