* [PATCH] gnu: unison: Install unison-fsmonitor.
@ 2016-06-11 4:24 Orivej Desh
2016-06-12 20:38 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Orivej Desh @ 2016-06-11 4:24 UTC (permalink / raw)
To: guix-devel
* gnu/packages/ocaml.scm (unison): Install unison-fsmonitor for "unison -repeat watch" mode.
---
gnu/packages/ocaml.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a0a4b93..de2b7c6 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -590,8 +590,13 @@ 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")))
+ (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)
--
2.7.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: unison: Install unison-fsmonitor.
2016-06-11 4:24 [PATCH] gnu: unison: Install unison-fsmonitor Orivej Desh
@ 2016-06-12 20:38 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-06-12 20:38 UTC (permalink / raw)
To: Orivej Desh; +Cc: guix-devel
Orivej Desh <orivej@gmx.fr> skribis:
> * gnu/packages/ocaml.scm (unison): Install unison-fsmonitor for "unison -repeat watch" mode.
I moved the explanation above as a comment in the ‘install-fsmonitor’
phase and applied it. Thank you!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-12 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-11 4:24 [PATCH] gnu: unison: Install unison-fsmonitor Orivej Desh
2016-06-12 20:38 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).