unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Eric Bavier <ericbavier@openmailbox.org>
To: Catonano <catonano@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: in a vm
Date: Fri, 7 Apr 2017 21:36:52 -0500	[thread overview]
Message-ID: <20170407213652.2290e980@openmailbox.org> (raw)
In-Reply-To: <CAJ98PDyVM8MNcf2toLBuBTHkeLvyRbRMZHzOV20UgdGbnjVxSQ@mail.gmail.com>

On Fri, 7 Apr 2017 11:17:19 +0200
Catonano <catonano@gmail.com> wrote:

> Hello,
> 
> trying to use a vm with
> 
> ./pre-inst-env guix system vm gnu/system/examples/bare-bones.tmpl
> 
> From a branch in which I'm working on some packages
> 
> When I launch the vm, the packages are not there
> 
> guix package --list-available | grep my-package
> 
> returns nothing

Within the VM, the guix that is being used is Guix's "guix" package
(gnu/packages/package-management.scm), which will not have any knowledge
of your packages or any other modifications in your git branch.

One thing you could do is add your packages to the vm config's
"package" field so that they are installed system-wide in the VM.

Another, untested, idea might be to map your git checkout into your
vm user's ~/.config/guix/latest

`~Eric

  reply	other threads:[~2017-04-08  2:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-07  9:17 in a vm Catonano
2017-04-08  2:36 ` Eric Bavier [this message]
2017-04-08 12:18   ` Catonano

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=20170407213652.2290e980@openmailbox.org \
    --to=ericbavier@openmailbox.org \
    --cc=catonano@gmail.com \
    --cc=help-guix@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.
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).