From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: tree doesn't get called Date: Tue, 9 May 2017 17:41:20 +0200 Message-ID: References: <20170505172459.158487fc@openmailbox.org> <87y3u7khhu.fsf@elephly.net> <874lwvje44.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045c1898f6bee6054f192fe9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d87GN-0005ZG-DM for help-guix@gnu.org; Tue, 09 May 2017 11:41:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d87GM-0007X4-NB for help-guix@gnu.org; Tue, 09 May 2017 11:41:23 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:33694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d87GM-0007VU-ES for help-guix@gnu.org; Tue, 09 May 2017 11:41:22 -0400 Received: by mail-wr0-x234.google.com with SMTP id w50so4443858wrc.0 for ; Tue, 09 May 2017 08:41:22 -0700 (PDT) In-Reply-To: <874lwvje44.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix --f403045c1898f6bee6054f192fe9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ricardo, 2017-05-08 22:19 GMT+02:00 Ricardo Wurmus : > > Here=E2=80=99s a version that works for me: > > > ;; Compile .scm files and install. > (every (lambda (file) > (let ((go-file (string-append module-dir "/" > (basename file > ".scm") ".go"))) > ;; Install source module. > (install-file file module-dir) > ;; Compile and install module. > (zero? (system* "guild" "compile" "-L" cwd > "-o" go-file file)))) > The differences with my version is that you use install-file insted of copy-file and you pass the -L (cwd) switch to guild I wonder what was causing my issue ? > If you have any questions about this just ask! > > Thank you so much or your help I appreciate it --f403045c1898f6bee6054f192fe9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ricardo,

2017-05-08 22:19 GMT+02:00 Ricardo Wurmus <= ;rekado@elephly.net= >:

Here=E2=80=99s a version that works for me:


=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; Compile .s= cm files and install.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(every= (lambda (file)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (let ((go-file (string-append module-dir "/" =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (basename file ".scm&= quot;) ".go")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ;; Install source module.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (install-file file module-dir)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ;; Compile and install module.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (zero? (system* "guild" "compile&qu= ot; "-L" cwd
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 "-o" go-file file))))

= The differences with my version is that you use install-file insted of copy= -file=C2=A0 and you pass the -L (cwd) switch to guild

I w= onder what was causing my issue ?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
If you have any questions about this just ask!

<= br>
Thank you so much or your help

I appreciate= it
--f403045c1898f6bee6054f192fe9--