unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51389] [PATCH] gnu: lttng-tools: Patch default man path.
@ 2021-10-25 16:18 Olivier Dion via Guix-patches via
  2021-10-27 22:29 ` bug#51389: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Dion via Guix-patches via @ 2021-10-25 16:18 UTC (permalink / raw)
  To: 51389; +Cc: Olivier Dion

* gnu/packages/linux.scm (lttng-tools)
[arguments]: Add 'patch-default-man-path after 'unpack phase.
---
 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 61ec6d8657..3b4da16d78 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8167,7 +8167,12 @@ (define-public lttng-tools
          (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.
-- 
2.33.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51389: [PATCH] gnu: lttng-tools: Patch default man path.
  2021-10-25 16:18 [bug#51389] [PATCH] gnu: lttng-tools: Patch default man path Olivier Dion via Guix-patches via
@ 2021-10-27 22:29 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-10-27 22:29 UTC (permalink / raw)
  To: Olivier Dion; +Cc: 51389-done

Hi,

Olivier Dion <olivier.dion@polymtl.ca> skribis:

> * gnu/packages/linux.scm (lttng-tools)
> [arguments]: Add 'patch-default-man-path after 'unpack phase.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-27 22:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 16:18 [bug#51389] [PATCH] gnu: lttng-tools: Patch default man path Olivier Dion via Guix-patches via
2021-10-27 22:29 ` bug#51389: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).