Hi Sébastien,
Sébastien Gendre <[email protected]> writes: > Hello, > > I was reading the section "4.2.1 A Database Container" of the Guix > Cookbook: > https://guix.gnu.org/cookbook/en/guix-cookbook.html#A-Database-Container-1 > > In the `operating-system` declaration example given in the cookbook, I > can see a declaration of a postgresql service type. But no postgresql > package field of the `operating-system` declaration. > > I thought that the packages used by services must be explicitly > requested in the `operating-system` declaration and they where not > automatically installed. Did I miss something ? Or is it an error in the > cookbook ? Yes, that is indeed usually the case. But by installed here is meant that you put them to the system profile under /run/current-system/profile, and then you can execute them in your shell. A service doesn't need that though, as it usually refers to the package directly to the gnu store. So services do not need to actually install packages to use them, in this sense. Of course you still need them available in the store, and Guix will ensure that when the service properly refers to the package. Rutherther > > > Best regards > > ------- > Gendre Sébastien
