unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Frank Pursel <frank.pursel@gmail.com>
To: 54377@debbugs.gnu.org
Subject: [bug#54377] [PATCH 0/3] Add 'guix home container'
Date: Thu, 17 Mar 2022 08:01:16 -0700	[thread overview]
Message-ID: <871qz0vd1f.fsf@gmail.com> (raw)
In-Reply-To: <20220313215259.9394-1-ludo@gnu.org>

Ludo,

This is a very exciting idea.  Entry into guix home has some wrinkles in
it that are scary.  I know it required several iterations over
home-configuration.scm and 'guix home reconfigure' before I was able to
make peace with my guix home.  I see in irc that others are also
experiencing challenges getting the environments where they want them to
be.  This patch allows more control over the adoption of guix home while
also cleverly leveraging improvements to guix containers.  Very cool, I
want it!

I ran this patch against my current, working home configuration to see
what happened and I ran into a problem.  My home-configuration.scm sets
the GUIX_PACKAGE_PATH (using simple-service
'local-environment-variables) and then references packages that are in
that path (in my case a package called emacs-ix).  When I executed 'guix
home container <my-config.scm>' I received the following errors:

guix home: error: emacs-ix: unknown package
guix home: error: failed to load '/home/fpp/src/guix-home-config/home-configuration.scm':
gnu/packages.scm:544:4: In procedure specification->package+output:

IDK if this is the desired behavior.  Can the environment set in
config.scm be set before loading the packages that may modify the
environment?

Regards,
Frank Pursel
acrow#guix







  parent reply	other threads:[~2022-03-17 15:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 21:52 [bug#54377] [PATCH 0/3] Add 'guix home container' Ludovic Courtès
2022-03-13 21:54 ` [bug#54377] [PATCH 1/3] linux-container: 'eval/container' honors #:namespaces Ludovic Courtès
2022-03-13 21:54   ` [bug#54377] [PATCH 2/3] linux-container: Add #:guest-uid and #:guest-gid to 'eval/container' Ludovic Courtès
2022-03-13 21:54   ` [bug#54377] [PATCH 3/3] guix home: Add 'container' command Ludovic Courtès
2022-03-17  6:24     ` Andrew Tropin
2022-03-18 13:25       ` Ludovic Courtès
2022-03-19  5:09         ` Andrew Tropin
2022-03-19 10:39           ` [bug#54377] [PATCH 0/3] Add 'guix home container' Ludovic Courtès
2022-03-19 15:03             ` Andrew Tropin
2022-03-19 18:24           ` bug#54377: " Ludovic Courtès
2022-03-17 15:01 ` Frank Pursel [this message]
2022-03-19 10:32   ` [bug#54377] " Ludovic Courtès
2022-03-23  3:06     ` Frank Pursel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qz0vd1f.fsf@gmail.com \
    --to=frank.pursel@gmail.com \
    --cc=54377@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).