help-guix
[Top][All Lists]
Advanced

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

Re: postgres service


From: Catonano
Subject: Re: postgres service
Date: Sun, 23 Apr 2017 08:50:10 +0200



2017-03-14 17:17 GMT+01:00 Ludovic Courtès <address@hidden>:
Hello!

Catonano <address@hidden> skribis:

> I added a postgresql service to the list of my services, like this
>
> (services (cons* (postgresql-service #:locale "it_IT.UTF-8")
>                 (gnome-desktop-service)
>                 (xfce-desktop-service)
>                   %desktop-services))
>
> This is an excerpt of the "guix system reconfigure etc/config.scm" log
>
> ...
> loading system objects' descriptions ... ok
> creating collations ... sh: locale: command not found
> ok
> No usable system locales were found.
> Use the option "--debug" to see details.
> ...

It looks like the ‘initdb’ attempts to invoke the ‘locale’ command (from
glibc), which it cannot find here.  If this is correct, then we should
add ‘locale’ to the PATH when invoking ‘initdb’.

Christopher: WDYT?

Thanks,

I reconfigured my system and suddenly the postgres locale works !

Thanks !

reply via email to

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