projects/guix·blob python-team · refs

19 lines · 732 B

1Following patch is imported from nixpkgs:
2
3source: https://github.com/NixOS/nixpkgs/pull/338995
4
5Remove unnecessary runtime dependencies.
6
7`knotc status configure` shows summary from the configure script,
8but that contains also references like include paths.
9Filter these at least in a crude way (whole lines).
10--- a/configure.ac
11+++ b/configure.ac
12@@ -788,5 +788,5 @@ result_msg_base="
13-result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
14+result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
15
16 AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])
17
18
19