knot-dns/distro/pkg/nix/runtime-deps.patch
Vladimír Čunát 9b19f4fe09
distro/pkg/nix: synchronize from downstream nixpkgs
It's mostly just reformat, as nixpkgs has been moving to using
automatic formatting.  But also dnstap has been added, etc.
I checked that `apkg build` works again, of course :-)
2025-07-31 15:28:13 +02:00

13 lines
633 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
@@ -788,5 +788,5 @@ result_msg_base="
-result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
+result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])