all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How add user without update package
@ 2019-07-10 17:51 Pirboazo
  2019-07-10 21:35 ` Fredrik Salomonsson
  0 siblings, 1 reply; 4+ messages in thread
From: Pirboazo @ 2019-07-10 17:51 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 587 bytes --]

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




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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How add user without update package
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Fredrik Salomonsson @ 2019-07-10 21:35 UTC (permalink / raw)
  To: Pirboazo; +Cc: help-guix

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How add user without update package
  2019-07-10 21:35 ` Fredrik Salomonsson
@ 2019-07-11 13:48   ` Pirboazo
  2019-07-11 17:09     ` Fredrik Salomonsson
  0 siblings, 1 reply; 4+ messages in thread
From: Pirboazo @ 2019-07-11 13:48 UTC (permalink / raw)
  To: Fredrik Salomonsson; +Cc: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 2414 bytes --]

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
> <mailto: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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How add user without update package
  2019-07-11 13:48   ` Pirboazo
@ 2019-07-11 17:09     ` Fredrik Salomonsson
  0 siblings, 0 replies; 4+ messages in thread
From: Fredrik Salomonsson @ 2019-07-11 17:09 UTC (permalink / raw)
  To: Pirboazo; +Cc: help-guix

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-11 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.