all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wifi via <help-guix@gnu.org>
To: Guix Help <help-guix@gnu.org>
Subject: How to export downloaded files for a system profile?
Date: Sat, 30 Nov 2024 23:03:00 +0000	[thread overview]
Message-ID: <173300778691.7.1670758004836259934.514586941@simplelogin.co> (raw)

I'm trying to create an archive containing only the store items that were downloaded to build machine A's active system profile, bootstrapped from source with no substitutes. Machine B could be an air gapped system, machine A in the future needing a reinstall without an internet connection, etc. Machine B would be running a minimal guix installation to import that archive to.

Ideally, this archive would not contain any binaries produced by machine A to save space when machine B already contains the necessary tools to consume the archive and bootstrap it.

I've been digging around looking for a way to build a complete build dependency and runtime dependency graph of every package and their derivations, but there doesn't appear to be a straightforward way to do it. If such a complete graph could be built, it seems to be only a matter of finding the leaf nodes and exporting those from the store.

Am I on the right track?

                 reply	other threads:[~2024-12-02 10:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=173300778691.7.1670758004836259934.514586941@simplelogin.co \
    --to=help-guix@gnu.org \
    --cc=80211.532nf@simplelogin.co \
    /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.