HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bcd1544
)
gnu: mg: Add new phase to find 'diff'.
author
ng0
<ng0@infotropique.org>
Wed, 26 Jul 2017 14:24:56 +0000
(14:24 +0000)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 26 Jul 2017 21:13:52 +0000
(23:13 +0200)
* gnu/packages/text-editors.scm (mg)[phases]: Add new 'correct-location-of-difftool'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/text-editors.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/text-editors.scm
b/gnu/packages/text-editors.scm
index
7357df7
..
7843c12
100644
(file)
--- a/
gnu/packages/text-editors.scm
+++ b/
gnu/packages/text-editors.scm
@@
-261,6
+261,12
@@
Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on
"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"