surelog: fix darwin build

This commit is contained in:
Olivér Falvai 2024-11-01 17:40:37 +01:00
parent 8a620b3847
commit 7ed598dcfb
No known key found for this signature in database

View File

@ -12,6 +12,7 @@
, antlr4 , antlr4
, capnproto , capnproto
, nlohmann_json , nlohmann_json
, darwin
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -45,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
capnproto capnproto
antlr4.runtime.cpp antlr4.runtime.cpp
nlohmann_json nlohmann_json
]; ] ++ lib.optional stdenv.isDarwin [ darwin.libutil ];
cmakeFlags = [ cmakeFlags = [
"-DSURELOG_USE_HOST_CAPNP=On" "-DSURELOG_USE_HOST_CAPNP=On"