unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Brian Woodcox <bw@inskydata.com>
Cc: help-guix@gnu.org
Subject: Re: Package Install Question for New User
Date: Mon, 5 Nov 2018 19:01:42 +0100	[thread overview]
Message-ID: <20181105190142.5d8b9834@alma-ubu> (raw)
In-Reply-To: <2507D003-6E8F-4DDB-BF8F-68565E56CA35@inskydata.com>

[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]

On Mon, 5 Nov 2018 09:33:22 -0700
Brian Woodcox <bw@inskydata.com> wrote:

> All of a sudden the system is downloading and compiling a pile of
> packages that were already installed as root.
> 
> Is there a way to have guix use the packages that were installed in
> the root account instead of downloading and rebuilding gcc, etc?

Hi Brian,

store item will be reused. But only if they are really the same.

I guess that users root and noobie have two different states of "guix
pull": For example noobie did the pull two days later and there was
some commit to gcc or one of its dependencies. Then it is no longer the
"same" gcc (even if the version number is the same) and will be
redownloaded/rebuilt.

To cope with that, first pull for the first user, say root. Then use
"guix --version" or better "guix describe" to see the commit on which
you are on.

Then with the second user, use "guix pull
--commit=<commit-from-above>". Then both users are "in sync" and if you
install the same packages it is just a matter of updating the user's
profile.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      parent reply	other threads:[~2018-11-05 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-05 16:33 Package Install Question for New User Brian Woodcox
2018-11-05 17:36 ` Thorsten Wilms
2018-11-05 18:01 ` Björn Höfling [this message]

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=20181105190142.5d8b9834@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=bw@inskydata.com \
    --cc=help-guix@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.
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).