[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: First guix pull is too costly
From: |
zimoun |
Subject: |
Re: First guix pull is too costly |
Date: |
Tue, 28 Jun 2022 13:23:00 +0200 |
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