gnu: libtraceevent: Shorten source snippet.
* gnu/packages/linux.scm (libtraceevent)[source]: Use SUBSTITUTE*'s features.
This commit is contained in:
parent
1063a3b564
commit
9991028fef
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user