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
|
@ -8167,7 +8167,12 @@ (define-public lttng-tools
|
||||||
(add-before 'configure 'set-environment-variables
|
(add-before 'configure 'set-environment-variables
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" "/tmp")
|
(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
|
;; 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
|
;; bindings. We don't put it in the inputs, because the rest of the tools
|
||||||
;; can work without it.
|
;; can work without it.
|
||||||
|
|
Loading…
Reference in a new issue