|
|
|
@ -55,7 +55,7 @@ unwrapped = stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
# http://knot-resolver.readthedocs.io/en/latest/build.html#requirements |
|
|
|
|
buildInputs = [ knot-dns lua.lua libuv gnutls lmdb ] |
|
|
|
|
++ optionals stdenv.isLinux [ systemd libcap_ng ] |
|
|
|
|
++ optionals stdenv.isLinux [ /*lib*/systemd libcap_ng ] |
|
|
|
|
++ [ nghttp2 ] |
|
|
|
|
## optional dependencies; TODO: dnstap |
|
|
|
|
; |
|
|
|
@ -79,8 +79,7 @@ unwrapped = stdenv.mkDerivation rec { |
|
|
|
|
rm -r "$out"/lib/sysusers.d/ # ATM more likely to harm than help |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
doInstallCheck = with stdenv; hostPlatform == buildPlatform |
|
|
|
|
&& !(isDarwin && isAarch64); # avoid luarocks, as it's broken ATM on the platform |
|
|
|
|
doInstallCheck = with stdenv; hostPlatform == buildPlatform; |
|
|
|
|
installCheckInputs = [ cmocka which cacert lua.cqueues lua.basexx lua.http ]; |
|
|
|
|
installCheckPhase = '' |
|
|
|
|
meson test --print-errorlogs |
|
|
|
|