mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
liblqr: fix compilation on x86_64_darwin
Add AppKit dependency, fixes error: "ld: file not found: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit for architecture x86_64".
This commit is contained in:
parent
148a6cbbbc
commit
40f68f68f7
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, Carbon }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, Carbon, AppKit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liblqr-1";
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Carbon ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Carbon AppKit ];
|
||||
propagatedBuildInputs = [ glib ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -19655,7 +19655,7 @@ with pkgs;
|
||||
libliftoff = callPackage ../development/libraries/libliftoff { };
|
||||
|
||||
liblqr1 = callPackage ../development/libraries/liblqr-1 {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon;
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon AppKit;
|
||||
};
|
||||
|
||||
liblockfile = callPackage ../development/libraries/liblockfile { };
|
||||
|
Loading…
Reference in New Issue
Block a user