all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is guix the right tool to get package definitions?
@ 2024-04-22 13:59 Adam
  2024-04-22 18:40 ` Felix Lechner via
  0 siblings, 1 reply; 4+ messages in thread
From: Adam @ 2024-04-22 13:59 UTC (permalink / raw)
  To: help-guix

Hi guix!
Recently I used nixos on one of my machines. And I noticed people
there use tar balls for fetching package definitions. And It worked
much faster for me.
That was surprising and I decided to write this letter.
Is git the right tool for getting new package definitions? What if git
commits history will become enormous?
As I see, the first guix pull is running too long for a lot of people.
Probably, there are ways to cache all of this.
Anyway, I'm just curious about it. If there are already answers for my
question, I would like to read them.

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

* Re: Is guix the right tool to get package definitions?
  2024-04-22 13:59 Is guix the right tool to get package definitions? Adam
@ 2024-04-22 18:40 ` Felix Lechner via
       [not found]   ` <CA+jnL0PRgGJ6bWW9D2o4Hx1HwsTYM9yOj7jk01PLhTATXcW=Lg@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Lechner via @ 2024-04-22 18:40 UTC (permalink / raw)
  To: Adam, help-guix

Hi Adam,

On Mon, Apr 22 2024, Adam wrote:

> Anyway, I'm just curious about it. If there are already answers for my
> question, I would like to read them.

I am not familiar with the tarballs Nix uses to deliver updates of
package definitions.  Their repo is probably bigger than Guix.  Here, we
use 'guix pull' together with channel definitions.

Is there a chance you might rephrase your question for a better answer,
please?

Kind regards
Felix


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

* Fwd: Is guix the right tool to get package definitions?
       [not found]   ` <CA+jnL0PRgGJ6bWW9D2o4Hx1HwsTYM9yOj7jk01PLhTATXcW=Lg@mail.gmail.com>
@ 2024-04-22 22:34     ` Adam
  2024-05-01 14:14       ` Tomas Volf
  0 siblings, 1 reply; 4+ messages in thread
From: Adam @ 2024-04-22 22:34 UTC (permalink / raw)
  To: Felix Lechner, help-guix

forgot to cc to help guix

---------- Forwarded message ---------
From: Adam <adam.quandour@gmail.com>
Date: Mon, Apr 22, 2024 at 1:56 PM
Subject: Re: Is guix the right tool to get package definitions?
To: Felix Lechner <felix.lechner@lease-up.com>


Sure, so my concern is - will it be difficult to guix pull new package
definitions when git commit history of guix channel will become
enormous? Is there any way to cache git commit history? Or maybe there
are other ways to achieve this?

On Mon, Apr 22, 2024 at 11:40 AM Felix Lechner
<felix.lechner@lease-up.com> wrote:
>
> Hi Adam,
>
> On Mon, Apr 22 2024, Adam wrote:
>
> > Anyway, I'm just curious about it. If there are already answers for my
> > question, I would like to read them.
>
> I am not familiar with the tarballs Nix uses to deliver updates of
> package definitions.  Their repo is probably bigger than Guix.  Here, we
> use 'guix pull' together with channel definitions.
>
> Is there a chance you might rephrase your question for a better answer,
> please?
>
> Kind regards
> Felix


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

* Re: Fwd: Is guix the right tool to get package definitions?
  2024-04-22 22:34     ` Fwd: " Adam
@ 2024-05-01 14:14       ` Tomas Volf
  0 siblings, 0 replies; 4+ messages in thread
From: Tomas Volf @ 2024-05-01 14:14 UTC (permalink / raw)
  To: Adam; +Cc: Felix Lechner, help-guix

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

On 2024-04-22 15:34:38 -0700, Adam wrote:
> forgot to cc to help guix
>
> ---------- Forwarded message ---------
> From: Adam <adam.quandour@gmail.com>
> Date: Mon, Apr 22, 2024 at 1:56 PM
> Subject: Re: Is guix the right tool to get package definitions?
> To: Felix Lechner <felix.lechner@lease-up.com>
>
>
> Sure, so my concern is - will it be difficult to guix pull new package
> definitions when git commit history of guix channel will become
> enormous? Is there any way to cache git commit history? Or maybe there
> are other ways to achieve this?

The git repository with packages is cached, in ~/.cache/guix/checkouts I
believe.  So after the initial guix pull, subsequent invocations do not spent
much time on the git pull part.

>
> On Mon, Apr 22, 2024 at 11:40 AM Felix Lechner
> <felix.lechner@lease-up.com> wrote:
> >
> > Hi Adam,
> >
> > On Mon, Apr 22 2024, Adam wrote:
> >
> > > Anyway, I'm just curious about it. If there are already answers for my
> > > question, I would like to read them.
> >
> > I am not familiar with the tarballs Nix uses to deliver updates of
> > package definitions.  Their repo is probably bigger than Guix.  Here, we
> > use 'guix pull' together with channel definitions.
> >
> > Is there a chance you might rephrase your question for a better answer,
> > please?
> >
> > Kind regards
> > Felix
>

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

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

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

end of thread, other threads:[~2024-05-01 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 13:59 Is guix the right tool to get package definitions? Adam
2024-04-22 18:40 ` Felix Lechner via
     [not found]   ` <CA+jnL0PRgGJ6bWW9D2o4Hx1HwsTYM9yOj7jk01PLhTATXcW=Lg@mail.gmail.com>
2024-04-22 22:34     ` Fwd: " Adam
2024-05-01 14:14       ` Tomas Volf

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.