unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Guix Devel <guix-devel@gnu.org>
Subject: substitute derivation: also substitute grafts?
Date: Thu, 15 Sep 2022 14:58:59 +0200	[thread overview]
Message-ID: <87r10ckcwp.fsf@elephly.net> (raw)

Hi Guix,

I really like the fact that Guix can substitute derivations.  It’s a
great way to transfer a profile from one powerful machine to a weak
machine without having to set up SSH for “guix copy” first.

I just build a profile on machine A, and then on the weak machine B I do

  guix build --substitute-urls="http://A:8000" /gnu/store/…-profile.drv

and all items for that profile are copied to B.

Did I say *all items*?  Well, … grafts are not included, because graft
derivations are marked as not substitutable.

Can we change that conditionally?  I would really like to avoid having
to build grafts on B when they have already been built on A.

-- 
Ricardo

PS: please keep me in Cc as I’m not subscribed to guix-devel at the moment.


             reply	other threads:[~2022-09-15 13:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15 12:58 Ricardo Wurmus [this message]
2022-09-15 14:46 ` substitute derivation: also substitute grafts? Csepp
2022-09-15 15:06   ` Maxime Devos
2022-09-15 17:43     ` Csepp
2022-09-15 17:51       ` Maxime Devos
2022-09-19 16:26         ` Josselin Poiret
2022-09-19 16:57           ` Maxime Devos
2022-09-19 22:00     ` Ricardo Wurmus
2022-10-01 16:43       ` Ludovic Courtès
2022-10-01 17:29         ` Ricardo Wurmus
2022-10-01 18:00           ` Tobias Geerinckx-Rice
2022-10-01 18:27             ` Ricardo Wurmus
2022-10-05 10:03               ` Ludovic Courtès
2022-10-05 11:41                 ` zimoun
2022-10-07 22:21                   ` Mark H Weaver
2022-10-10 15:32                   ` Ludovic Courtès
2022-10-10 15:55                     ` zimoun
2022-10-10 17:50                       ` Ricardo Wurmus
2022-10-05 12:53                 ` 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

  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=87r10ckcwp.fsf@elephly.net \
    --to=rekado@elephly.net \
    --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 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).