[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Permanently available environments
From: |
Konrad Hinsen |
Subject: |
Re: Permanently available environments |
Date: |
Fri, 28 Jan 2022 19:04:07 +0100 |
Konrad Hinsen <konrad.hinsen@fastmail.net> writes:
> 1. Containers can only be generated using "guix shell" or the older
> "guix environment". There is no way to generate a container based
> on a profile. Correct me if I am wrong!
Thanks to Ricardo and Guillaume, who pointed out the –profile option to
"guix shell", which does exactly what I need. I missed it because it is
not mentioned in the manual. I just submitted a patch.
> 4. In practice, I often work with a bad or non-existing network
> connection, so I must be sure to have all my packages in the store.
> And if I use "time-machine", I must also keep the required Guix
> version locally available. But there is no option for that in
> "time-machine". The Guix versions it downloads are garbage-collected
> after a while. So I can find myself in the situation of having all
> the packages for my environment in the store, but unable to access
> it without a network connection, because "time-machine" first needs
> to fetch an old Guix version again.
Thanks to Vagrant for pointing out that "guix pull" has a –profile
option as well (which I wasn't aware of). This can indeed serve as a
workaround, although it looks a bit clumsy.
Cheers,
Konrad.