davix: fix build on darwin

This commit is contained in:
Dmitry Kalinkin
2025-12-17 14:35:03 -05:00
parent a634d9ca11
commit f3a668ee61
+5
View File
@@ -12,6 +12,7 @@
curl,
gsoap,
rapidjson,
zlib,
enableTools ? true,
# Use libcurl instead of libneon
# Note that the libneon used is bundled in the project
@@ -39,6 +40,7 @@ stdenv.mkDerivation rec {
libxml2
openssl
rapidjson
zlib
]
++ lib.optional (!stdenv.hostPlatform.isDarwin) libuuid
++ lib.optional enableThirdPartyCopy gsoap;
@@ -74,6 +76,9 @@ stdenv.mkDerivation rec {
})
];
# Transitive dependency of gsoap (only supports static library builds)
env.NIX_LDFLAGS = "-lz";
meta = {
description = "Toolkit for Http-based file management";