mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: libtraceevent: Shorten source snippet.
* gnu/packages/linux.scm (libtraceevent)[source]: Use SUBSTITUTE*'s features.
This commit is contained in:
parent
1063a3b564
commit
9991028fef
1 changed files with 2 additions and 4 deletions
|
@ -9854,10 +9854,8 @@ (define-public libtraceevent
|
|||
(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…
Reference in a new issue