knot-resolver: use checkInputs

This commit is contained in:
Jan Malakhovski 2018-08-08 21:29:19 +00:00
parent 2dd797a1d2
commit 0449c1258c

View File

@ -27,11 +27,12 @@ unwrapped = stdenv.mkDerivation rec {
# http://knot-resolver.readthedocs.io/en/latest/build.html#requirements # http://knot-resolver.readthedocs.io/en/latest/build.html#requirements
buildInputs = [ knot-dns luajit libuv gnutls nettle lmdb ] buildInputs = [ knot-dns luajit libuv gnutls nettle lmdb ]
++ optional doCheck cmocka
++ optional stdenv.isLinux systemd # sd_notify ++ optional stdenv.isLinux systemd # sd_notify
## optional dependencies; TODO: libedit, dnstap ## optional dependencies; TODO: libedit, dnstap
; ;
checkInputs = [ cmocka ];
makeFlags = [ makeFlags = [
"PREFIX=$(out)" "PREFIX=$(out)"
"ROOTHINTS=${dns-root-data}/root.hints" "ROOTHINTS=${dns-root-data}/root.hints"