davix: fix on darwin

+7 -4
+4 -3
pkgs/tools/networking/davix/default.nix
··· 10 10 , libuuid 11 11 , curl 12 12 , gsoap 13 + , Security 13 14 , enableTools ? true 14 15 # Use libcurl instead of libneon 15 16 # Note that the libneon used is bundled in the project ··· 32 33 openssl 33 34 libxml2 34 35 boost 35 - libuuid 36 36 curl 37 37 ] 38 + ++ lib.optional stdenv.isDarwin Security 39 + ++ lib.optional (!stdenv.isDarwin) libuuid 38 40 ++ lib.optional (enableThirdPartyCopy) gsoap; 39 41 40 42 # using the url below since the github release page states ··· 53 55 54 56 cmakeFlags = [ 55 57 "-DENABLE_TOOLS=${boolToUpper enableTools}" 56 - "-DEMBEDDED_LIBCURL=false" 58 + "-DEMBEDDED_LIBCURL=OFF" 57 59 "-DLIBCURL_BACKEND_BY_DEFAULT=${boolToUpper defaultToLibcurl}" 58 60 "-DENABLE_IPV6=${boolToUpper enableIpv6}" 59 61 "-DENABLE_TCP_NODELAY=${boolToUpper enableTcpNodelay}" ··· 61 63 ]; 62 64 63 65 meta = with lib; { 64 - broken = stdenv.isDarwin; 65 66 description = "Toolkit for Http-based file management"; 66 67 67 68 longDescription = "Davix is a toolkit designed for file
+3 -1
pkgs/top-level/all-packages.nix
··· 5202 5202 5203 5203 cadaver = callPackage ../tools/networking/cadaver { }; 5204 5204 5205 - davix = callPackage ../tools/networking/davix { }; 5205 + davix = callPackage ../tools/networking/davix { 5206 + inherit (darwin.apple_sdk.frameworks) Security; 5207 + }; 5206 5208 5207 5209 davix-copy = davix.override { enableThirdPartyCopy = true; }; 5208 5210