knot-resolver: yet another attempt to fix build on Darwin
This commit is contained in:
parent
49b136377a
commit
612333a770
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, utillinux, vimNox, which
|
||||
{ stdenv, fetchurl, pkgconfig, utillinux, hexdump, which
|
||||
, knot-dns, luajit, libuv, lmdb
|
||||
, cmocka, systemd, hiredis, libmemcached
|
||||
, gnutls, nettle
|
||||
@ -21,8 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configurePhase = ":";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig which makeWrapper ]
|
||||
++ [(if stdenv.isLinux then utillinux.bin/*hexdump*/ else vimNox/*xxd*/)];
|
||||
nativeBuildInputs = [ pkgconfig which makeWrapper hexdump ];
|
||||
|
||||
buildInputs = [ knot-dns luajit libuv gnutls ]
|
||||
# TODO: lmdb needs lmdb.pc; embedded for now
|
||||
|
@ -10321,7 +10321,10 @@ with pkgs;
|
||||
jetty = callPackage ../servers/http/jetty { };
|
||||
|
||||
knot-dns = callPackage ../servers/dns/knot-dns { };
|
||||
knot-resolver = callPackage ../servers/dns/knot-resolver { };
|
||||
knot-resolver = callPackage ../servers/dns/knot-resolver {
|
||||
# TODO: vimNox after it gets fixed on Darwin or something lighter
|
||||
hexdump = if stdenv.isLinux then utillinux.bin else vim/*xxd*/;
|
||||
};
|
||||
|
||||
rdkafka = callPackage ../development/libraries/rdkafka { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user