chafa: fix darwin build
This commit is contained in:
parent
1299c42d88
commit
e90057a4a5
@ -1,5 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, which, libxslt, libxml2, docbook_xml_dtd_412, docbook_xsl, glib, imagemagick, darwin }:
|
||||
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, which
|
||||
, libxslt, libxml2, docbook_xml_dtd_412, docbook_xsl, glib, imagemagick
|
||||
, Foundation
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6.0";
|
||||
@ -23,7 +25,8 @@ stdenv.mkDerivation rec {
|
||||
docbook_xsl
|
||||
];
|
||||
|
||||
buildInputs = [ glib imagemagick ] ++ lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||
buildInputs = [ glib imagemagick ]
|
||||
++ lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
patches = [ ./xmlcatalog_patch.patch ];
|
||||
|
||||
|
@ -3658,7 +3658,9 @@ in
|
||||
|
||||
cfssl = callPackage ../tools/security/cfssl { };
|
||||
|
||||
chafa = callPackage ../tools/misc/chafa { };
|
||||
chafa = callPackage ../tools/misc/chafa {
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
checkbashisms = callPackage ../development/tools/misc/checkbashisms { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user