guix-commits
[Top][All Lists]
Advanced

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

03/09: gnu: lttng-tools: Patch default man path.


From: guix-commits
Subject: 03/09: gnu: lttng-tools: Patch default man path.
Date: Wed, 27 Oct 2021 18:44:51 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9b0ee18ba8b2c2cdc5238cbaa2fb2648d55b30c9
Author: Olivier Dion <olivier.dion@polymtl.ca>
AuthorDate: Mon Oct 25 12:18:43 2021 -0400

    gnu: lttng-tools: Patch default man path.
    
    * gnu/packages/linux.scm (lttng-tools)
    [arguments]: Add 'patch-default-man-path after 'unpack phase.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/linux.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 61ec6d8..3b4da16 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8167,7 +8167,12 @@ to ring buffers shared with a consumer daemon.")
          (add-before 'configure 'set-environment-variables
            (lambda _
              (setenv "HOME" "/tmp")
-             (setenv "LTTNG_HOME" "/tmp"))))))
+             (setenv "LTTNG_HOME" "/tmp")))
+         ;; We don't put (which "man") here because LTTng uses execlp.
+         (add-after 'unpack 'patch-default-man-path
+           (lambda _
+             (substitute* "src/common/defaults.h"
+               (("/usr/bin/man") "man")))))))
     ;; NOTE - Users have to install python-3 in their profile to use the
     ;; bindings.  We don't put it in the inputs, because the rest of the tools
     ;; can work without it.



reply via email to

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