[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: postgres service
From: |
Ludovic Courtès |
Subject: |
Re: postgres service |
Date: |
Tue, 14 Mar 2017 17:17:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
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,