unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: guix archive export/import and software deployment
Date: Sun, 6 Mar 2016 15:41:32 +0100	[thread overview]
Message-ID: <20160306144132.GA1944@thebird.nl> (raw)

Guix archive is not working well for me. What I want is to deploy a
package with its runtime dependencies reliably from one machine to
another and update the profile after so it can be run, with its
propagated dependencies.

Dependencies are not all included when exporting. In fact all R
modules are missing, but python modules are included. Ludo's earlier
comment suggests the package is visited and harvested for runtime
links. Apparently the R modules are not linked. Even so, they are in
the package definition, so we should be able to capture them.

The second problem is that there is no elegant way to recreate the
profile now for the full thing. Obviously I have a complex product ;)

At this point I am thinking of harvesting dependencies from a bag and 
tar balling all the /gnu/store/ paths mentioned. It will lead to a
larger tarball, but I don't care about that. Alternatively they will
go on a caching guix server.

Next I am thinking of installing these paths one-by-one so as to
recreate the profile and update the guix database.

Probably not the best way to go. Suggestions?

Ideally I would like also to deploy the software without using guix
(just the /gnu/store) and recreate the profile in user space. That is
for those users who can't be bothered to install the guix daemon. It
is a lesser requirement. But it may work well for tools like
mediagoblin too. The first step to a one-click install, perhaps.

Pj.

             reply	other threads:[~2016-03-06 14:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-06 14:41 Pjotr Prins [this message]
2016-03-06 22:55 ` guix archive export/import and software deployment Ludovic Courtès
2016-03-07  7:02   ` Chris Marusich
2016-03-07  7:15     ` Pjotr Prins
2016-03-07 16:38     ` Ludovic Courtès

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=20160306144132.GA1944@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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).