From: zimoun <zimon.toutoune@gmail.com>
To: Akib Azmain Turja <akib@disroot.org>, guix-devel@gnu.org
Subject: Re: First guix pull is too costly
Date: Tue, 28 Jun 2022 13:23:00 +0200 [thread overview]
Message-ID: <86zghxdobv.fsf@gmail.com> (raw)
In-Reply-To: <87wnd1kycb.fsf@disroot.org>
Hi,
On Tue, 28 Jun 2022 at 14:04, Akib Azmain Turja <akib@disroot.org> wrote:
> Is possible to reuse the guix channel from any other user to do the
> first guix pull? Or maybe a shallow clone?
Assuming alice is user already existing on the machine and bob is the
new user. Something like should do the job,
--8<---------------cut here---------------start------------->8---
ALICE=/home/alice/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq
BOB=/home/BOB/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq
mkdir -p $BOB
git clone $ALICE $BOB
--8<---------------cut here---------------end--------------->8---
then adapt the permissions.
Cheers,
simon
next prev parent reply other threads:[~2022-06-28 11:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-28 8:04 First guix pull is too costly Akib Azmain Turja
2022-06-28 10:05 ` bokr
2022-06-28 11:23 ` zimoun [this message]
2022-06-28 12:28 ` Efraim Flashner
2022-06-28 16:59 ` zimoun
2022-07-01 12:51 ` Ludovic Courtès
2022-07-01 15:25 ` zimoun
2022-06-28 12:49 ` Akib Azmain Turja
2022-06-28 17:09 ` zimoun
2022-06-28 17:40 ` Akib Azmain Turja
2022-07-01 12:52 ` Ludovic Courtès
2022-07-07 9:01 ` Giovanni Biscuolo
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=86zghxdobv.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=akib@disroot.org \
--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).