alt-ergo: fix build on darwin

This commit is contained in:
Weijia Wang 2023-12-15 02:21:48 +01:00 committed by Jörg Thalheim
parent 1ca8eac82e
commit 2a3d4f9afe

View file

@ -1,4 +1,4 @@
{ fetchurl, fetchpatch, lib, ocamlPackages }:
{ darwin, fetchurl, lib, ocamlPackages, stdenv }:
let
pname = "alt-ergo";
@ -28,7 +28,7 @@ ocamlPackages.buildDunePackage {
inherit pname version src;
nativeBuildInputs = [ ocamlPackages.menhir ];
nativeBuildInputs = [ ocamlPackages.menhir ] ++ lib.optionals stdenv.isDarwin [ darwin.sigtool ];
buildInputs = [ alt-ergo-parsers ] ++ (with ocamlPackages; [ cmdliner dune-site ]);
meta = {