Re: Unison with non-Guix machines

2020-11-25 Thread zimoun
Hi, On Wed, 25 Nov 2020 at 09:32, Efraim Flashner wrote: > I suppose other options are to provide a unison-with-ocaml407 package or > to create a static output for ocaml with the static build and not just > static libraries. >From my point of view, in the short term, the OCaml 4.07 packages sho

Re: Unison with non-Guix machines

2020-11-24 Thread Efraim Flashner
On Tue, Nov 24, 2020 at 06:46:51AM -0500, Julien Lepiller wrote: > From guix, you could try: > > guix build unison --with-input=ocaml=ocaml@4.07 > --with-input=ocaml-findlib=ocaml4.07-findlib > > Or from a manifest, (package-with-ocaml4.07 unison). > I can confirm that it builds but I don't ha

Re: Unison with non-Guix machines

2020-11-24 Thread Julien Lepiller
From guix, you could try: guix build unison --with-input=ocaml=ocaml@4.07 --with-input=ocaml-findlib=ocaml4.07-findlib Or from a manifest, (package-with-ocaml4.07 unison). Le 24 novembre 2020 05:53:17 GMT-05:00, Andreas Enge a écrit : >On Tue, Nov 24, 2020 at 11:42:47AM +0100, zimoun wrote: >>

Re: Unison with non-Guix machines

2020-11-24 Thread Andreas Enge
On Tue, Nov 24, 2020 at 11:42:47AM +0100, zimoun wrote: > It looks like you are doing by hand what “guix pack” does for you. ;-) > Especially, open the unison doc, look for the compiling options, burn > CPU to recompile it. Anyway. :-) Exactly, that kind of thing! But I had some time to spend in

Re: Unison with non-Guix machines

2020-11-24 Thread zimoun
Hi Andreas, On Tue, 24 Nov 2020 at 11:24, Andreas Enge wrote: > guix environment unison > tar xvf `guix build unison -S` > cd unison-2.51.2-checkout/ > make STATIC=true It looks like you are doing by hand what “guix pack” does for you. ;-) Especially, open the unison doc, look for the compiling

Re: Unison with non-Guix machines

2020-11-24 Thread Andreas Enge
Hello Simon and Arun, thanks a lot for your help! I am not root on the machine, so I could try "guix pack". Next time - since I also found out a unison specific solution, which I can share here for future reference: guix environment unison tar xvf `guix build unison -S` cd unison-2.51.2-checkout/

Re: Unison with non-Guix machines

2020-11-24 Thread Arun Isaac
Hi Andreas, I had a similar problem with my Arch Linux work machine. I installed Guix (as in running guix-daemon on a foreign distro) on my Arch work machine, and used Guix to manage the unison package alone. That way, I always had matching versions. But, you do need root privileges on your work

Re: Unison with non-Guix machines

2020-11-23 Thread zimoun
Hi Andreas, On Mon, 23 Nov 2020 at 20:05, Andreas Enge wrote: > Fatal error: Server: Fatal error during unmarshaling (input_value: ill-formed > message), > possibly because client and server have been compiled with differentversions > of the OCaml compiler. > (there are weird languages out the

Unison with non-Guix machines

2020-11-23 Thread Andreas Enge
Hello, after the recent move to a newer ocaml version, I cannot unison any more with my work machine, which has unison version 2.51.2 (ocaml 4.07.1) instead of our new unison version 2.51.2 (ocaml 4.09.0) This raises error messages of this kind: Fatal error: Server: Fatal error during unmars