mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: mg: Add new phase to find 'diff'.
* gnu/packages/text-editors.scm (mg)[phases]: Add new 'correct-location-of-difftool'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
bcd1544dd2
commit
217ce5702c
1 changed files with 6 additions and 0 deletions
|
@ -261,6 +261,12 @@ (define-public mg
|
|||
"CC=gcc")
|
||||
#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'correct-location-of-difftool
|
||||
(lambda _
|
||||
(substitute* "buffer.c"
|
||||
(("/usr/bin/diff")
|
||||
(which "diff")))
|
||||
#t))
|
||||
(add-before 'install 'patch-tutorial-location
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* "mg.1"
|
||||
|
|
Loading…
Reference in a new issue