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