From mboxrd@z Thu Jan 1 00:00:00 1970 From: Orivej Desh Subject: [PATCH] gnu: unison: Install unison-fsmonitor. Date: Sat, 11 Jun 2016 04:24:21 +0000 Message-ID: <20160611042421.2ecb759a@orivej.orivej.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBaYq-0005fr-3X for guix-devel@gnu.org; Sat, 11 Jun 2016 00:30:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBaYl-0004x8-TF for guix-devel@gnu.org; Sat, 11 Jun 2016 00:30:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:47913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBaYl-0004wz-Mm for guix-devel@gnu.org; Sat, 11 Jun 2016 00:30:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bBaYe-0001Bi-VO for guix-devel@gnu.org; Sat, 11 Jun 2016 06:30:08 +0200 Received: from 5.134.115.233 ([5.134.115.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jun 2016 06:30:04 +0200 Received: from orivej by 5.134.115.233 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jun 2016 06:30:04 +0200 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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