mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
unbound: use lib.optionalString
This commit is contained in:
parent
8c692a36b9
commit
bf60e5144c
@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-libhiredis=${hiredis}"
|
||||
];
|
||||
|
||||
PROTOC_C = if withDNSTAP then "${protobufc}/bin/protoc-c" else null;
|
||||
PROTOC_C = lib.optionalString withDNSTAP "${protobufc}/bin/protoc-c";
|
||||
|
||||
# Remove references to compile-time dependencies that are included in the configure flags
|
||||
postConfigure = let
|
||||
|
Loading…
Reference in New Issue
Block a user