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: Replacing python venv - environment or profile?

2020-11-24 Thread Dr. Arne Babenhauserheide
Phil writes: > I'm new the Guix and considering adopting it as an expansion to my > current use of Python virtual environments in development and > production, to include other non-Python packages too. As far as I see it, guix environment is what you get from a virtualenv, plus a good deal more

Build determinism, dependency granularity, and dependency scope

2020-11-24 Thread Stephen Scheck
I have been trying to package an open source application written in Go for Guix, and along the way as I've come to understand the mechanics better, I've realized a few things which are a bit disconcerting. I'll refer to the package for Yggdrasil, as it was recommended to me as a good blueprint to f

Re: Replacing python venv - environment or profile?

2020-11-24 Thread zimoun
Hi Phil, On Tue, 24 Nov 2020 at 17:22, Phil wrote: > I'm new the Guix and considering adopting it as an expansion to my > current use of Python virtual environments in development and > production, to include other non-Python packages too. Nice! > I've read the manual/cookbook and I get the g

Replacing python venv - environment or profile?

2020-11-24 Thread Phil
Hi all, Apologies this is a bit longer than I anticipated, but I wanted to record all the steps I'd taken to explain my reasoning - in case it's wrong! I'm new the Guix and considering adopting it as an expansion to my current use of Python virtual environments in development and production, to i

Re: Can Guix support Zen 2/AMD Ryzen?

2020-11-24 Thread pelzflorian (Florian Pelz)
On Tue, Nov 24, 2020 at 02:31:47AM +, jbra...@dismail.de wrote: > I've also run into that booting issue. I think there is a way to > disable fancy graphics rendering during the installer, which is what > I had to do, to get guix to run on my AMD APU a few years ago. > Maybe someone here can po

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