unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 8c5cf21d46819a5cd46bc88beeaf5b8d3dd7d671 732 bytes (raw)
name: packages/patches/knot-remove-runtime-deps.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
Following patch is imported from nixpkgs:

source: https://github.com/NixOS/nixpkgs/pull/338995

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])
 



debug log:

solving 8c5cf21d46819a5cd46bc88beeaf5b8d3dd7d671 ...
found 8c5cf21d46819a5cd46bc88beeaf5b8d3dd7d671 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).