diff options
Diffstat (limited to 'pkgs/servers/dns/pdns-recursor/default.nix')
-rw-r--r-- | pkgs/servers/dns/pdns-recursor/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/servers/dns/pdns-recursor/default.nix b/pkgs/servers/dns/pdns-recursor/default.nix index 972b92e7de9b1..fff18486ab015 100644 --- a/pkgs/servers/dns/pdns-recursor/default.nix +++ b/pkgs/servers/dns/pdns-recursor/default.nix @@ -2,9 +2,6 @@ , openssl, systemd, lua, luajit, protobuf , enableProtoBuf ? false }: -assert enableProtoBuf -> protobuf != null; - -with lib; stdenv.mkDerivation rec { pname = "pdns-recursor"; @@ -19,7 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ boost openssl systemd lua luajit - ] ++ optional enableProtoBuf protobuf; + ] ++ lib.optional enableProtoBuf protobuf; configureFlags = [ "--enable-reproducible" @@ -32,7 +29,7 @@ stdenv.mkDerivation rec { nixos = nixosTests.pdns-recursor; }; - meta = { + meta = with lib; { description = "A recursive DNS server"; homepage = "https://www.powerdns.com/"; platforms = platforms.linux; |