unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Fredrik Salomonsson <plattfot@gmail.com>
To: Pirboazo <pib@pirboazo.net>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: How add user without update package
Date: Thu, 11 Jul 2019 10:09:40 -0700	[thread overview]
Message-ID: <CABZcOATTQm=2SQENPXkaKn4MaggBX0mnCuAnLAwJxK6gCFCspA@mail.gmail.com> (raw)
In-Reply-To: <8fbc6cbf-7b9a-9860-9e5d-585a92f707f0@pirboazo.net>

No problem

One tip to avoid long build hours is the find a commit with enough
substitutes.
What I usually do is to check http://cl.guix.info/jobset/guix-master, find
one with success > 1000 and pull down that commit.
For example #6182 guix → 156b7ab  1322/620/1268
run: guix pull --committ=156b7ab
Not a foolproof way of avoiding building the heavy packages but works good
enough for me right now. Not fun when you need to build icecat and the
whole rust build chain.

There is also this that was mentioned a while back on the mailing list:
https://lists.gnu.org/archive/html/help-guix/2019-02/msg00018.html
Haven't tested it myself but looks promising.



Den tors 11 juli 2019 kl 06:48 skrev Pirboazo <pib@pirboazo.net>:

> Hi Fredrik,
>
> As you see below the state of my system  before my reconfigure.
>
> last guix pull :
>
> Generation 5    *Jun 30 2019 15:39:18 *   (current)
>  guix 5dd0269
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 5dd0269244da42066133d19055c9eb82b9e9ae20
>
> Last reconfigure :
>
> Generation 6   * Jul 01 2019 00:19:25*    (current)
>   file name: /var/guix/profiles/system-6-link
>   canonical file name: /gnu/store/yq8ww08f2sh5277hw081ycsyhg5i4qid-system
>   label: GNU with Linux-Libre 5.1.15
>   bootloader: grub
>   root device: UUID: 2cab8a75-2dbf-4d03-afb0-58377abeee0e
>   kernel:
> /gnu/store/mxnxz8n6hdm6dndw8biqqqzblrmvc4ia-linux-libre-5.1.15/bzImage
>
> Yesterday when i launch a reconfigure .
>
> guix download app and rebuild webkitgtk -2.2.24  on my laptop this take
> several hours --> generation 7..
>
> After  create the new generation when i launch an another reconfigure all
> work fine..  --> generation 8
>
> And now it work fine.
>
> Thank you
>
> Regards
>
> Pierre
>
>
> On 7/10/19 11:35 PM, Fredrik Salomonsson wrote:
>
> Hi Pierre,
>
> Den ons 10 juli 2019 kl 12:17 skrev Pirboazo <pib@pirboazo.net>:
>
>> Hello Everybody,
>>
>> I want add an user on my system but not update all packages.
>>
>> An user on on IRC channel #guix said me :
>>
>> > just use the same commit as you did when you last reconfigured with
>> the modified config.scm's only change in the users section
>>
>> I don't understand how to launch reconfigure with the same commit.
>>
>> i understand  to change the commit , i must use the command :  guix pull
>>
>> If i don't modify the commit
>>
>> How  it'spossible than the command *guix system reconfigure* launch the
>> build of a new configuration.
>>
>> Thank for your help.
>>
>> Pierre
>>
>
> It is as simple as running
> `guix system reconfigure /path/to/config.scm`.
>
> That will reconfigure your os using the config file based on the current
> commit of guix.
>
> Only way to change the commit, as you said, is `guix pull`.
>
> Which is why when updating Guix System. You first run `guix pull`, to
> get new versions of packages etc. Then `guix system reconfigure` to
> reconfigure your os based on that commit.
>
> I hope that clears it up.
> --
> s/Fred[re]+i[ck]+/Fredrik/g
>
>

-- 
s/Fred[re]+i[ck]+/Fredrik/g

      reply	other threads:[~2019-07-11 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 17:51 How add user without update package Pirboazo
2019-07-10 21:35 ` Fredrik Salomonsson
2019-07-11 13:48   ` Pirboazo
2019-07-11 17:09     ` Fredrik Salomonsson [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='CABZcOATTQm=2SQENPXkaKn4MaggBX0mnCuAnLAwJxK6gCFCspA@mail.gmail.com' \
    --to=plattfot@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=pib@pirboazo.net \
    /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).