unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fwd: Re: Multiple profiles with Guix Home
       [not found] <501c142f8f9a60fea4a004b9ee06abd5eecff933.camel@gmail.com>
@ 2021-11-16  6:03 ` Liliana Marie Prikler
  0 siblings, 0 replies; only message in thread
From: Liliana Marie Prikler @ 2021-11-16  6:03 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3 bytes --]




[-- Attachment #2: Weitergeleitete Nachricht – Re: Multiple profiles with Guix Home --]
[-- Type: message/rfc822, Size: 2735 bytes --]

From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Olivier Rojon <o.rojon@posteo.net>
Subject: Re: Multiple profiles with Guix Home
Date: Sun, 14 Nov 2021 09:48:28 +0100
Message-ID: <501c142f8f9a60fea4a004b9ee06abd5eecff933.camel@gmail.com>

Bonjour Olivier,

Am Sonntag, den 14.11.2021, 08:19 +0000 schrieb Olivier Rojon:
> I'm not sure if this belongs to guix-devel or the guix issue tracker,
> but I was unable to make multiple profiles work with guix home.
Is that the reason why you posted it to neither?  Since you are voicing
your support, I think guix-devel would have been fine, but you would
have had to write a separate mail to guix-help (or is it help-guix?)
towards getting your issue solved.  I don't think it's a bug per se,
but configuring current guix home to work with multiple profiles would
be hacky either way, not to mention all the other environment variables
that setup doesn't account for.

> I tried two scenarios:
> 1) (local-file ...) my old .bash_profile, which featured the
> cookbooks' for loop for loading the profiles.
I think your old bash_profile would be overwritten either way, so that
is not a style I'd recommend.

> 2) (plain-file ...) a new .bash_profile, which contained
> scheme-generated strings "manually" sourcing each individual profile.
You might want to look at the file generated through this means. 
Chances are that your changes don't apply or apply at the wrong moment
and are then overwritten.

> Both scenarios didn't work.  Upon starting the machine, neither of my
> profiles' packages are visible.  It is necessary to manually source
> the profiles to make said packages visible.
I think there's an environment service type that you might not have
tried yet.  I am myself not a guix-home user, because this nastiness is
a thing that keeps me from switching to it.  I don't want to pollute
more of my $HOME for no gain, I want to be able to tell Guix which
layout I like.


> I've written a reddit-post about it, where I explain some stuff in
> more detail in case that's relevant.  You can find the post here:
> https://www.reddit.com/r/GUIX/comments/qs8dxg/guix_home_how_to_execute_loops_shell_scripts/
> 
> I hope that this will work and that I have not unknowingly
> overstepped etiquette somewhere.  If so, feel free to point me to it
> :)
For the record, what happens if you source .guix-
home/files/bash_profile.  Is .bash_profile correctly set up as a
symlink to that?  You might want to try this in a debug shell (bash -v)

Cheers,
Liliana

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-16  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <501c142f8f9a60fea4a004b9ee06abd5eecff933.camel@gmail.com>
2021-11-16  6:03 ` Fwd: Re: Multiple profiles with Guix Home Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).