mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 03:15:09 -05:00
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>
This commit is contained in:
parent
b19250eec6
commit
9b0ee18ba8
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue