gnu: unison: Install unison-fsmonitor.
* gnu/packages/ocaml.scm (unison)[arguments]: Add 'install-fsmonitor' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4d4c3614c8
commit
31d968fbcf
1 changed files with 7 additions and 1 deletions
|
@ -590,8 +590,14 @@ libpanel, librsvg and quartz.")
|
||||||
(mkdir-p bin)
|
(mkdir-p bin)
|
||||||
(setenv "HOME" out) ; forces correct INSTALLDIR in Makefile
|
(setenv "HOME" out) ; forces correct INSTALLDIR in Makefile
|
||||||
#t)))
|
#t)))
|
||||||
|
(add-after 'install 'install-fsmonitor
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(bin (string-append out "/bin")))
|
||||||
|
;; 'unison-fsmonitor' is used in "unison -repeat watch" mode.
|
||||||
|
(install-file "src/unison-fsmonitor" bin))))
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((doc (string-append (assoc-ref outputs "doc")
|
(let ((doc (string-append (assoc-ref outputs "doc")
|
||||||
"/share/doc/unison")))
|
"/share/doc/unison")))
|
||||||
(mkdir-p doc)
|
(mkdir-p doc)
|
||||||
|
|
Reference in a new issue