mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
ocamlPackages.bjack: fix build on darwin
This commit is contained in:
parent
9a5b1e495f
commit
d66b3c77e5
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libsamplerate, libjack2 }:
|
||||
{ lib, stdenv, buildDunePackage, fetchFromGitHub, Accelerate, CoreAudio, dune-configurator, libsamplerate, libjack2 }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "bjack";
|
||||
|
@ -13,7 +13,7 @@ buildDunePackage rec {
|
|||
sha256 = "1gf31a8i9byp6npn0x6gydcickn6sf5dnzmqr2c1b9jn2nl7334c";
|
||||
};
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
buildInputs = [ dune-configurator ] ++ lib.optionals stdenv.isDarwin [ Accelerate CoreAudio ];
|
||||
propagatedBuildInputs = [ libsamplerate libjack2 ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -86,7 +86,9 @@ let
|
|||
|
||||
bitv = callPackage ../development/ocaml-modules/bitv { };
|
||||
|
||||
bjack = callPackage ../development/ocaml-modules/bjack { };
|
||||
bjack = callPackage ../development/ocaml-modules/bjack {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate CoreAudio;
|
||||
};
|
||||
|
||||
bls12-381 = callPackage ../development/ocaml-modules/bls12-381 { };
|
||||
bls12-381-gen = callPackage ../development/ocaml-modules/bls12-381/gen.nix { };
|
||||
|
|
Loading…
Reference in a new issue