diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-07-16 02:00:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-07-16 02:00:07 +0200 |
commit | 9991028feff0c30145db32166d1d04fff7db2f35 (patch) | |
tree | a95c27933ef8269cde0fe39695caa5ddb3371a55 /gnu/packages/linux.scm | |
parent | 1063a3b5646322b55d806b7858b5c6ce6a2a9508 (diff) |
gnu: libtraceevent: Shorten source snippet.
* gnu/packages/linux.scm (libtraceevent)[source]:
Use SUBSTITUTE*'s features.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d1a69ab7fc..90a5a9566c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9854,10 +9854,8 @@ older system-wide @file{/sys} interface.") (modules '((guix build utils))) (snippet #~(begin - (substitute* "Makefile" - (("/bin/pwd") "pwd")) - (substitute* "scripts/utils.mk" - (("/bin/pwd") "pwd")))))) + (substitute* (list "Makefile" "scripts/utils.mk") + (("/bin/(pwd)" _ command) command)))))) (build-system gnu-build-system) (arguments (list |