From: Akib Azmain Turja <akib@disroot.org>
To: zimoun <zimon.toutoune@gmail.com>, guix-devel@gnu.org
Subject: Re: First guix pull is too costly
Date: Tue, 28 Jun 2022 18:49:01 +0600 [thread overview]
Message-ID: <87mtdxkl6q.fsf@disroot.org> (raw)
In-Reply-To: <86zghxdobv.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]
zimoun <zimon.toutoune@gmail.com> writes:
> 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
>
It worked! Thanks a lot.
Just out of curiosity, why the hash is
pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq? Is this the hash
of the channel declaration/definition/whatsoever?
--
Akib Azmain Turja
This message is signed by me with my GnuPG key. It's fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2022-06-28 12:50 UTC|newest]
Thread overview: 14+ 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
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 [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2022-06-28 9:05 Akib Azmain Turja
2022-08-17 10:00 ` zimoun
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=87mtdxkl6q.fsf@disroot.org \
--to=akib@disroot.org \
--cc=guix-devel@gnu.org \
--cc=zimon.toutoune@gmail.com \
/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.