knot-resolver: switch to systemdMinimal

It was in closure anyway, and this saves 62M from
 $ nix path-info -S ./result
Still, for those using the service this won't change the closure.
This commit is contained in:
Vladimír Čunát 2022-04-29 11:12:29 +02:00
parent aee52fb135
commit 3eab641238
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 4 additions and 2 deletions

View File

@ -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
;

View File

@ -21787,7 +21787,9 @@ with pkgs;
keycloak = callPackage ../servers/keycloak { };
knot-dns = callPackage ../servers/dns/knot-dns { };
knot-resolver = callPackage ../servers/dns/knot-resolver { };
knot-resolver = callPackage ../servers/dns/knot-resolver {
systemd = systemdMinimal; # in closure already anyway
};
rdkafka = callPackage ../development/libraries/rdkafka { };