Re: “Guix Profiles in Practice”

2019-11-06 Thread Ludovic Courtès
Pierre Neidhardt skribis: > Oh my!! I had no clue about `guix environment --root` :/ > That's embarrassing... :p At least we learned something about discoverability of these options. :-) > This probably solves many issues. > > I guess we ought to update the cookbook with this! That’d be great

Re: “Guix Profiles in Practice”

2019-11-05 Thread Carlo Zancanaro
Hey Pierre, On Mon, Nov 04 2019, Pierre Neidhardt wrote: As I understand it, the current discussion is about "pinning" profiles. Should any dependency get garbage collected, an environment will need Internet access to refetch the missing parts; I think this is what we are trying to avoid, rega

Re: “Guix Profiles in Practice”

2019-11-04 Thread Ludovic Courtès
Hello, Jonathan Frederickson skribis: > On Nov 3, 2019, at 9:24 AM, Ludovic Courtès wrote >> Now, this would be very much stateful: you can’t tell in advance whether >> you’re going to build a new profile based on the current Guix, or >> whether you’re going to reuse a previously cached profile

Re: “Guix Profiles in Practice”

2019-11-04 Thread Pierre Neidhardt
Ludovic Courtès writes: > That sounds like a good idea. ‘guix develop’ could keep the profiles it > manages under ~/.cache/guix. > > Now, this would be very much stateful: you can’t tell in advance whether > you’re going to build a new profile based on the current Guix, or > whether you’re going

Re: “Guix Profiles in Practice”

2019-11-03 Thread Jonathan Frederickson
On Nov 3, 2019, at 9:24 AM, Ludovic Courtès wrote > Now, this would be very much stateful: you can’t tell in advance whether > you’re going to build a new profile based on the current Guix, or > whether you’re going to reuse a previously cached profile that could be > arbitrarily old. That doesn’

Re: “Guix Profiles in Practice”

2019-11-03 Thread Ludovic Courtès
Hi, "Thompson, David" skribis: > 'guix environment' is a very composable command, and it's not clear to > me how I would add the stuff I want onto it and it's even less clear > if it's a good idea. Probably not. So, I wonder if maybe a new > subcommand, say 'guix develop', could address this c

Re: “Guix Profiles in Practice”

2019-11-01 Thread Hartmut Goebel
Am 31.10.19 um 12:25 schrieb Pierre Neidhardt: > David that the manifest be installed to ~/.guix-develop-profile. I > suggest instead that we all manifest have their own folder, > e.g. according to their path. Dave did not write about any path, but wrote: > Running 'guix develop' would check f

Re: “Guix Profiles in Practice”

2019-10-30 Thread Hartmut Goebel
Am 27.10.19 um 22:08 schrieb Pierre Neidhardt: > From the command line, we could do > > guix install-manifest my-project IC. This is also a good way, esp. if one uses the same "my-project" manifest for several locations. But this way you can not make the manifest part of the project source. >

Re: “Guix Profiles in Practice”

2019-10-27 Thread Hartmut Goebel
Am 27.10.19 um 20:06 schrieb Pierre Neidhardt: > I think it's useful to support multiple directories since it's likely > that users will work on multiple projects. > > See what I've done for Emacs-Guix. The (configurable) file structure > looks like this: > > - ~/.guix-extra-profiles/my-project >

Re: “Guix Profiles in Practice”

2019-10-27 Thread Pierre Neidhardt
Hartmut Goebel writes: > Now I'm eager to learn how to mimic "guix envorinment some-package", > whihc oulls in all build dependencies of "some-package". Any hints? It does not seem possible at the moment, I started discussing this here: https://lists.gnu.org/archive/html/guix-devel/2019-10/msg0

Re: “Guix Profiles in Practice”

2019-10-27 Thread Hartmut Goebel
Am 25.10.19 um 12:24 schrieb Ludovic Courtès: > Here’s a new blog post by Pierre Neidhardt entitled “Guix Profiles in > Practice”: Great! I was not aware about the benefits of profiles and mostly use environments. Now I'm eager to learn how to mimic "guix envorinment some-packa

Re: “Guix Profiles in Practice”

2019-10-27 Thread Hartmut Goebel
Am 25.10.19 um 18:36 schrieb Thompson, David: > tool "just work." Running 'guix develop' would check for a profile > symlink with some canonical name, for example '.guix-develop-profile'. > If it exists, it applies the environment variables and spawns a > subshell. If it doesn't exist, it looks f

Re: “Guix Profiles in Practice”

2019-10-27 Thread Jelle Licht
Konrad Hinsen writes: > Maybe we should start a Guix CLI nursery. A project/repository separate > from Guix itself that contains a copy of the "guix" script under a > different name ("guixx" for guix-extras?) and with the same interface > for scripting modules. We could then use this to play coll

Re: “Guix Profiles in Practice”

2019-10-27 Thread Konrad Hinsen
Pierre Neidhardt writes: > "Thompson, David" writes: > >> if it's a good idea. Probably not. So, I wonder if maybe a new >> subcommand, say 'guix develop', could address this common development >> use-case while allowing 'guix environment' to continue being the swiss >> army knife that it is.

Re: “Guix Profiles in Practice”

2019-10-27 Thread Pjotr Prins
gt; >> > > >> > Here’s a new blog post by Pierre Neidhardt entitled “Guix Profiles in > >> > Practice”: > >> > > >> > https://guix.gnu.org/blog/2019/guix-profiles-in-practice/ > >> > > >> > A great discussion on the ben

Re: “Guix Profiles in Practice”

2019-10-27 Thread Pierre Neidhardt
Bengt Richter writes: > How would you say it in French? (I'm trying to recall high school French > here, so be kind ;-) > > I think english "a" is like French "un" or "une" -- so translating "on a same > system" literally > (using my flawed French), does "en un même système" sound right to you?

Re: “Guix Profiles in Practice”

2019-10-27 Thread Bengt Richter
Hi Pierre, On +2019-10-26 12:00:30 +0200, Pierre Neidhardt wrote: > "Thompson, David" writes: > > > Great article! > > Thanks! :) > > > I spotted a typo in the first paragraph: "on a same system" should be > > "on the same system." > > I can fix it. Out of curiosity, why is it wrong? "All u

Re: “Guix Profiles in Practice”

2019-10-26 Thread Chris Marusich
Ludovic Courtès writes: > Here’s a new blog post by Pierre Neidhardt entitled “Guix Profiles in > Practice”: > > https://guix.gnu.org/blog/2019/guix-profiles-in-practice/ > > A great discussion on the benefits of manifests and on ways to manage > several profiles! >

Re: “Guix Profiles in Practice”

2019-10-26 Thread Pierre Neidhardt
"Thompson, David" writes: > Great article! Thanks! :) > I spotted a typo in the first paragraph: "on a same system" should be > "on the same system." I can fix it. Out of curiosity, why is it wrong? "All users on a system..." is correct, "All users on a given system" too, so I wonder why "o

Re: “Guix Profiles in Practice”

2019-10-25 Thread Pjotr Prins
On Fri, Oct 25, 2019 at 12:36:01PM -0400, Thompson, David wrote: > On Fri, Oct 25, 2019 at 6:57 AM Ludovic Courtès wrote: > > > > Hello Guix! > > > > Here’s a new blog post by Pierre Neidhardt entitled “Guix Profiles in > > Practice”: > > > > ht

Re: “Guix Profiles in Practice”

2019-10-25 Thread Thompson, David
On Fri, Oct 25, 2019 at 6:57 AM Ludovic Courtès wrote: > > Hello Guix! > > Here’s a new blog post by Pierre Neidhardt entitled “Guix Profiles in > Practice”: > > https://guix.gnu.org/blog/2019/guix-profiles-in-practice/ > > A great discussion on the benefits of mani

“Guix Profiles in Practice”

2019-10-25 Thread Ludovic Courtès
Hello Guix! Here’s a new blog post by Pierre Neidhardt entitled “Guix Profiles in Practice”: https://guix.gnu.org/blog/2019/guix-profiles-in-practice/ A great discussion on the benefits of manifests and on ways to manage several profiles! Ludo’.