guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package file indexing


From: Ludovic Courtès
Subject: Re: Package file indexing
Date: Wed, 15 Jan 2020 23:14:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

Pierre Neidhardt <address@hidden> skribis:

> Thanks Nicolò, your feedback was very useful!
>
> So it's not program-not-found but command-not-found and it's define
> here:
>
>   
> https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/programs/command-not-found
>
> Then I found this
>
>   https://github.com/NixOS/nixos-channel-scripts
>
> All this is pretty clear and simple.
>
> The main thing I wonder at this point is when the
> "generate-programs-index.cc" file is run.
>
> What would be the good entry point in substitute servers to populate
> such a database?

The database could be updated upon reception of a build-completion
notification from build machines or from the Data Service, like Chris
proposed.  (Or, if it were ‘guix publish’, it could do that on demand,
the first time a narinfo is requested.)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]