all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marco van Zwetselaar <zwets@zwets.com>
To: guix-devel@gnu.org
Subject: Malconnected machines & guix pull
Date: Thu, 10 Mar 2016 14:31:02 +0300	[thread overview]
Message-ID: <56E15AF6.5040806@zwets.com> (raw)

All,

Is there a way to do a 'guix pull' from an internet-disconnected machine?

I can tell it to fetch master.tar.gz from file:

$ guix pull --url=file:///tmp/master.tar.gz
unpacking 
'/gnu/store/d6x5rcb58fqfsyhr08v65bii1pfm7jz1-guix-latest.tar.gz'...
The following derivations will be built:
    /gnu/store/z6lxp83lkk6ba719i4c0x3rv087kgjkk-guix-latest.drv
    /gnu/store/vx592ns1hk7xs038c1h5kjnzlb7cxzyw-module-import.drv
/gnu/store/4p141cjhz9wfkgi3gi5nk11d5f0jpplg-module-import-compiled.drv
The following files will be downloaded:
    /gnu/store/fmxxkrpwajcnb9cyncgh4f4z6ybknl1g-guile-2.0.11
    ...

But then off it goes again looking for substitutes from hydra. Guix pull 
offers neither --no-substitutes nor --substitute-urls.

In fact, what I am really looking for is a --substitute-urls option for 
'guix pull', or a way to separate the pull and the subsequent build, so 
that I can make it connect to a 'guix publish'-ing server.

Context: internet connectivity at my research institute (in Kilimanjaro, 
Tanzania) is often such that I need to restart a guix pull four or five 
times. Multiply that by 6 machines and you see why I'm good friends with 
guix publish ;-)

Cheers
Marco

             reply	other threads:[~2016-03-10 11:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 11:31 Marco van Zwetselaar [this message]
2016-03-10 15:44 ` Malconnected machines & guix pull Ricardo Wurmus
2016-03-10 17:04   ` Pjotr Prins
2016-03-11 13:39     ` Ricardo Wurmus
2016-03-10 17:53   ` [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at user's checkout Christopher Allan Webber
2016-03-11 13:41     ` Ricardo Wurmus
2016-03-11 16:42       ` Christopher Allan Webber
2016-03-11 14:40     ` Ludovic Courtès
2016-03-23  8:52   ` Malconnected machines & guix pull Marco van Zwetselaar
2016-03-23 11:06     ` Ricardo Wurmus

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

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

  git send-email \
    --in-reply-to=56E15AF6.5040806@zwets.com \
    --to=zwets@zwets.com \
    --cc=guix-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.