1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-08 08:18:56 +02:00

gnu: libtraceevent: Shorten source snippet.

* gnu/packages/linux.scm (libtraceevent)[source]:
Use SUBSTITUTE*'s features.
This commit is contained in:
Tobias Geerinckx-Rice
2023-07-16 02:00:00 +02:00
parent 1063a3b564
commit 9991028fef
+2 -4
View File
@@ -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