surelog: fix darwin build
This commit is contained in:
parent
8a620b3847
commit
7ed598dcfb
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user