mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
The generated default.nix exactly corresponds to what's on https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/dns/knot-dns/default.nix (except for tiny differences directly due to 3.0.8 vs. 3.1.0)
14 lines
576 B
Diff
14 lines
576 B
Diff
Remove unnecessary runtime dependencies.
|
|
|
|
`knotc status configure` shows summary from the configure script,
|
|
but that contains also references like include paths.
|
|
Filter these at least in a crude way (whole lines).
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -766,5 +766,5 @@ result_msg_base=" Knot DNS $VERSION
|
|
|
|
-result_msg_esc=$(echo -n "$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
|
|
+result_msg_esc=$(echo -n "$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
|
|
|
|
AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])
|
|
|