Subject: Re: bug#57008: [PATCH] gnu: perf-tools: Patch executable paths

From: Ludovic Courtès <[email-masked]>
Date: Wed, 31 Aug 2022 23:05:36 +0200

Hi Olivier & Mathieu,

Olivier Dion <[email-masked]> skribis:

> * gnu/packages/instrumentation.scm (perf-tools): Add patch phase.
> [phases]: Add patch-paths.

[...]

> +             (substitute* '("execsnoop" "killsnoop" "kernel/funcslower")
> +               (("/usr/bin/gawk") (which "awk")))
> +             (substitute* '"execsnoop"
> +               (("/usr/bin/getconf") (which "getconf"))))))

I went ahead and applied a modified version of this patch that uses
‘search-input-file’ instead of ‘which’.

Thanks,
Ludo’.