aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-16 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-16 02:00:07 +0200
commit9991028feff0c30145db32166d1d04fff7db2f35 (patch)
treea95c27933ef8269cde0fe39695caa5ddb3371a55
parent1063a3b5646322b55d806b7858b5c6ce6a2a9508 (diff)
downloadguix-9991028feff0c30145db32166d1d04fff7db2f35.tar.gz
guix-9991028feff0c30145db32166d1d04fff7db2f35.zip
gnu: libtraceevent: Shorten source snippet.
* gnu/packages/linux.scm (libtraceevent)[source]: Use SUBSTITUTE*'s features.
-rw-r--r--gnu/packages/linux.scm6
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