ocamlPackages.cairo2: fix build on aarch64-darwin
This commit is contained in:
parent
5f00415074
commit
6308679d28
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, lib, fetchurl, buildDunePackage, ocaml, dune-configurator, pkg-config, cairo }:
|
||||
{ stdenv, lib, fetchurl, buildDunePackage, ocaml, dune-configurator, pkg-config, cairo
|
||||
, ApplicationServices }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "cairo2";
|
||||
|
@ -13,7 +14,7 @@ buildDunePackage rec {
|
|||
useDune2 = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ cairo dune-configurator ];
|
||||
buildInputs = [ cairo dune-configurator ] ++ lib.optionals stdenv.isDarwin [ ApplicationServices ];
|
||||
|
||||
doCheck = !(stdenv.isDarwin
|
||||
# https://github.com/Chris00/ocaml-cairo/issues/19
|
||||
|
|
|
@ -140,7 +140,9 @@ let
|
|||
|
||||
ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
|
||||
|
||||
cairo2 = callPackage ../development/ocaml-modules/cairo2 { };
|
||||
cairo2 = callPackage ../development/ocaml-modules/cairo2 {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
};
|
||||
|
||||
callipyge = callPackage ../development/ocaml-modules/callipyge { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue