help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tree doesn't get called


From: Catonano
Subject: Re: tree doesn't get called
Date: Tue, 9 May 2017 17:41:20 +0200

Ricardo,

2017-05-08 22:19 GMT+02:00 Ricardo Wurmus <address@hidden>:

Here’s 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]