mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00: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:
@@ -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; {
|
||||
|
||||
@@ -19649,7 +19649,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 { };
|
||||
|
||||
Reference in New Issue
Block a user