guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/18: gnu: libtraceevent: Shorten source snippet.


From: guix-commits
Subject: 08/18: gnu: libtraceevent: Shorten source snippet.
Date: Wed, 19 Jul 2023 11:23:38 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 9991028feff0c30145db32166d1d04fff7db2f35
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:00 2023 +0200

    gnu: libtraceevent: Shorten source snippet.
    
    * gnu/packages/linux.scm (libtraceevent)[source]:
    Use SUBSTITUTE*'s features.
---
 gnu/packages/linux.scm | 6 ++----
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]