diff options
author | Orivej Desh <orivej@gmx.fr> | 2016-06-11 04:24:21 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-06-12 23:55:16 +0200 |
commit | 31d968fbcfa78b52c5280503417b67943f8a9660 (patch) | |
tree | d2b85cd09f215e4703864f59bd7b4402a4a77673 | |
parent | 4d4c3614c85f98f734b3e4f375568b562dd1e2a7 (diff) | |
download | guix-31d968fbcfa78b52c5280503417b67943f8a9660.tar.gz |
gnu: unison: Install unison-fsmonitor.
* gnu/packages/ocaml.scm (unison)[arguments]: Add 'install-fsmonitor' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/ocaml.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a0a4b936db..bd913f6ecd 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -590,8 +590,14 @@ libpanel, librsvg and quartz.") (mkdir-p bin) (setenv "HOME" out) ; forces correct INSTALLDIR in Makefile #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 - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key outputs #:allow-other-keys) (let ((doc (string-append (assoc-ref outputs "doc") "/share/doc/unison"))) (mkdir-p doc) |