Re: Combining Guix, direnv and Emacs for environment customisation

2017-08-30 Thread Ludovic Courtès
Hi! "Thompson, David" skribis: > There is a feature missing in 'guix environment': saving the resulting > profile for easy access later. I often want to build an environment > once and not update it for awhile, but with the current state of 'guix > environment' it's not possible. This leads me

Re: Combining Guix, direnv and Emacs for environment customisation

2017-08-30 Thread Ludovic Courtès
Carlo Zancanaro skribis: > On Tue, Aug 29 2017, David wrote: >> There is a feature missing in 'guix environment': saving the resulting >> profile for easy access later. I often want to build an environment >> once and not update it for awhile, but with the current state of 'guix >> environment'

Re: Combining Guix, direnv and Emacs for environment customisation

2017-08-29 Thread Carlo Zancanaro
On Tue, Aug 29 2017, David wrote: > There is a feature missing in 'guix environment': saving the resulting > profile for easy access later. I often want to build an environment > once and not update it for awhile, but with the current state of 'guix > environment' it's not possible. This leads me

Re: Combining Guix, direnv and Emacs for environment customisation

2017-08-29 Thread Maxim Cournoyer
Hi! "Thompson, David" writes: > There is a feature missing in 'guix environment': saving the resulting > profile for easy access later. I often want to build an environment > once and not update it for awhile, but with the current state of 'guix > environment' it's not possible. This leads me t

Re: Combining Guix, direnv and Emacs for environment customisation

2017-08-29 Thread Thompson, David
Hello Christopher, Reviving this old thread, if you don't mind. :) On Sat, May 27, 2017 at 7:31 AM, Christopher Baines wrote: > > In summary, using direnv provides a convinient way to manage different > environments created from Guix. There is now support for using direnv > directly from Emacs.

Re: Combining Guix, direnv and Emacs for environment customisation

2017-06-07 Thread Ricardo Wurmus
Roel Janssen writes: > The NFS overhead is pretty large. Maybe we can better tune it, and if > so, document how to tune it for GNU Guix. I already talked to our > storage expert, and tuning boils down to using fast disks, a > large-enough NFS cache, and low-latency network equipment. We may g

Re: Combining Guix, direnv and Emacs for environment customisation

2017-06-05 Thread Roel Janssen
Ludovic Courtès writes: > Hi Roel, > > Roel Janssen skribis: > >> Ludovic Courtès writes: > > [...] > FWIW, on our NFS-mounted /gnu, the 'guix environment' command takes at least 20 seconds, but for any reasonably big environment it takes more than one minute. The biggest bottlen

Re: Combining Guix, direnv and Emacs for environment customisation

2017-06-04 Thread Ludovic Courtès
Hi Roel, Roel Janssen skribis: > Ludovic Courtès writes: [...] >>> FWIW, on our NFS-mounted /gnu, the 'guix environment' command takes at >>> least 20 seconds, but for any reasonably big environment it takes more >>> than one minute. The biggest bottleneck here is the disk latency. >>> Could

Re: Combining Guix, direnv and Emacs for environment customisation

2017-06-03 Thread Roel Janssen
Ludovic Courtès writes: > Roel Janssen skribis: > >> Ludovic Courtès writes: >> >>> I agree that we could do a lot more things with a faster ‘guix >>> environment’. My guess is that it won’t be easy to go optimize, and >>> very hard to go below 1 second. We should profile that and see what can

Re: Combining Guix, direnv and Emacs for environment customisation

2017-06-03 Thread Ludovic Courtès
Roel Janssen skribis: > Ludovic Courtès writes: > >> I agree that we could do a lot more things with a faster ‘guix >> environment’. My guess is that it won’t be easy to go optimize, and >> very hard to go below 1 second. We should profile that and see what can >> be done. > > FWIW, on our NFS-

Re: Combining Guix, direnv and Emacs for environment customisation

2017-06-01 Thread Roel Janssen
Ludovic Courtès writes: > I agree that we could do a lot more things with a faster ‘guix > environment’. My guess is that it won’t be easy to go optimize, and > very hard to go below 1 second. We should profile that and see what can > be done. FWIW, on our NFS-mounted /gnu, the 'guix environme

Re: Combining Guix, direnv and Emacs for environment customisation

2017-05-30 Thread Ludovic Courtès
Hi Christopher! Christopher Baines skribis: > direnv [1] is an environment switcher for shells, for example, you want > to have a specific environment variable set when working on a particular > project, you drop a .envrc file in to the relevant directory and > providing direnv is hooked in to y

Combining Guix, direnv and Emacs for environment customisation

2017-05-27 Thread Christopher Baines
Hey, In summary, using direnv provides a convinient way to manage different environments created from Guix. There is now support for using direnv directly from Emacs. So for a while now I've been using direnv and Guix, but thanks to recent improvements with the Emacs integration, its now become e