Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-16 Thread Doron Behar
On Wed, May 15, 2019 at 11:26:08PM +0200, Ricardo Wurmus wrote: > It compiles Guile modules. Using compiled modules is faster than having > to interpret everything. You can try without compiling changed modules > but the performance penalty when you have lots of interpreted modules > will likely

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Ricardo Wurmus
Doron Behar writes: > Plus, do I have to run make after every change to a package definition!? > Will it compile everything from the ground up after every such change? I > wish these technical details would have been documented... “make” does not cause recompilation of unchanged things. This

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Ricardo Wurmus
Doron Behar writes: > On Wed, May 15, 2019 at 12:46:30PM +0200, Gábor Boskovits wrote: >> > I ran the guix-daemon command: >> > >> > sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild >> > >> >> This should only be needed if you don't run it from a service manager. >> Changes to

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Amirouche
On 2019-05-15 18:33, Amirouche wrote: Welcome Dordon, On 2019-05-15 11:46, Doron Behar wrote: [...] I'd like to be convinced I'm wrong at least in this subject because as I dive more and more into Guix I feel there have been made a lot of poor design choices in it.. That the usual

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Amirouche
Welcome Dordon, On 2019-05-15 11:46, Doron Behar wrote: On Wed, May 15, 2019 at 10:46:29AM +0200, Gábor Boskovits wrote: > It might be easier to first set up a channel with your packages only. You can find several examples out there. Here is one of my channels:

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
> > There's so much room for improvements... > > Do you have a constructive suggestion for improving this section of the > manual? Not yet. I need to gain experience with the ecosystem and I hope to be able then to think of better ways to organize the documentation. When I'll be ready, I'd be

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
On Wed, May 15, 2019 at 12:46:30PM +0200, Gábor Boskovits wrote: > > I ran the guix-daemon command: > > > > sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild > > > > This should only be needed if you don't run it from a service manager. > Changes to the daemon are rare, and most of

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
On Wed, May 15, 2019 at 12:41:45PM +0200, Gábor Boskovits wrote: > > > Did you also run make? > > > > No! I was hoping I could avoid that as that's extremely CPU intensive.. > > Is there a way to run make with only the relevant targets? That could be > > very helpful... > > > > Plus, do I have to

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Gábor Boskovits
Hello Doron, Doron Behar ezt írta (időpont: 2019. máj. 15., Sze, 12:23): > To add to my previous message, I'll note that after I `make` finally > finished, I've encountered the same issue: > > I ran the guix-daemon command: > > sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild >

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Gábor Boskovits
Hello, Doron Behar ezt írta (időpont: 2019. máj. 15., Sze, 11:47): > Thanks for the quick reply! > > On Wed, May 15, 2019 at 10:46:29AM +0200, Gábor Boskovits wrote: > > > > > It might be easier to first set up a channel with your packages only. You > > can find > > several examples out there.

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
To add to my previous message, I'll note that after I `make` finally finished, I've encountered the same issue: I ran the guix-daemon command: sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild Afterwards, in a different shell, I ran guix environment guix And afterwards,

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
On Wed, May 15, 2019 at 11:08:20AM +0200, pelzflorian (Florian Pelz) wrote: > On Wed, May 15, 2019 at 11:06:54AM +0300, Doron Behar wrote: > > To be more specific, I've tried this idea by writing the following in > > `~/.config/guix/channels.scm`: > > > > (list (channel > > (name 'guix) >

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
Thanks for the quick reply! On Wed, May 15, 2019 at 10:46:29AM +0200, Gábor Boskovits wrote: > > > It might be easier to first set up a channel with your packages only. You > can find > several examples out there. > Here is one of my channels: > https://gitlab.com/g_bor/nominatim-channel Oh

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread pelzflorian (Florian Pelz)
On Wed, May 15, 2019 at 11:06:54AM +0300, Doron Behar wrote: > To be more specific, I've tried this idea by writing the following in > `~/.config/guix/channels.scm`: > > (list (channel > (name 'guix) > (url "file:///var/code/doron/guix"))) > It could be (url

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Gábor Boskovits
Hello Doron! Doron Behar ezt írta (időpont: 2019. máj. 15., Sze, 10:09): > Hey all, > > Coming from Arch Linux, I'm trying to add new packages and contribute > them to the Guix project. However, I have a few doubts as for dictating > a workflow and most importantly I can't seem to be able to

Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-15 Thread Doron Behar
Hey all, Coming from Arch Linux, I'm trying to add new packages and contribute them to the Guix project. However, I have a few doubts as for dictating a workflow and most importantly I can't seem to be able to actually test my new packages' definitions with `./pre-inst-env`. First of all, I'm