[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57008: [PATCH] gnu: perf-tools: Patch executable paths
From: |
Ludovic Courtès |
Subject: |
bug#57008: [PATCH] gnu: perf-tools: Patch executable paths |
Date: |
Wed, 31 Aug 2022 23:05:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi Olivier & Mathieu,
Olivier Dion <olivier.dion@polymtl.ca> 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’.