mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
atomicparsley: include cf-private on darwin
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSDictionary", referenced from: objc-class-ref in nsfile.o objc-class-ref in nsimage.o ld: symbol(s) not found for architecture x86_64
This commit is contained in:
parent
8abc1cccfb
commit
c8e480b4da
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchhg, autoreconfHook, zlib, darwin }:
|
{ stdenv, fetchhg, autoreconfHook, zlib, cf-private, Cocoa }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "atomicparsley-${version}";
|
name = "atomicparsley-${version}";
|
||||||
@ -9,10 +9,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "05n4kbn91ps52h3wi1qb2jwygjsc01qzx4lgkv5mvwl5i49rj8fm";
|
sha256 = "05n4kbn91ps52h3wi1qb2jwygjsc01qzx4lgkv5mvwl5i49rj8fm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
[ autoreconfHook
|
|
||||||
zlib
|
buildInputs = [ zlib ]
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa;
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
Cocoa
|
||||||
|
# Needed for OBJC_CLASS_$_NSDictionary symbols.
|
||||||
|
cf-private
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
|
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
|
||||||
|
|
||||||
|
@ -571,7 +571,10 @@ with pkgs;
|
|||||||
gsl = gsl_1;
|
gsl = gsl_1;
|
||||||
};
|
};
|
||||||
|
|
||||||
atomicparsley = callPackage ../tools/video/atomicparsley { };
|
atomicparsley = callPackage ../tools/video/atomicparsley {
|
||||||
|
inherit (darwin) cf-private;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
|
};
|
||||||
|
|
||||||
autoflake = callPackage ../development/tools/analysis/autoflake { };
|
autoflake = callPackage ../development/tools/analysis/autoflake { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user