From: Olivier Dion via Guix-patches via <guix-patches@gnu.org>
To: 51389@debbugs.gnu.org
Cc: Olivier Dion <olivier.dion@polymtl.ca>
Subject: [bug#51389] [PATCH] gnu: lttng-tools: Patch default man path.
Date: Mon, 25 Oct 2021 12:18:43 -0400 [thread overview]
Message-ID: <20211025161843.7507-1-olivier.dion@polymtl.ca> (raw)
* 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
next reply other threads:[~2021-10-25 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 16:18 Olivier Dion via Guix-patches via [this message]
2021-10-27 22:29 ` bug#51389: [PATCH] gnu: lttng-tools: Patch default man path Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211025161843.7507-1-olivier.dion@polymtl.ca \
--to=guix-patches@gnu.org \
--cc=51389@debbugs.gnu.org \
--cc=olivier.dion@polymtl.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).