summaryrefslogtreecommitdiffstats
path: root/distro/pkg/nix/runtime-deps.patch
blob: 19fc9cd07b18be6aa3058c200bab1076737e641a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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])