From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>, 68747@debbugs.gnu.org
Subject: bug#68747: Extending postgresql-role-service-type as shown in manual leads to crash
Date: Tue, 30 Jan 2024 23:18:06 +0100 [thread overview]
Message-ID: <87plxizcrl.fsf@jpoiret.xyz> (raw)
In-Reply-To: <87a5or1q0g.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
Hi Maxim,
I guess this is not explained that well, but the service-extension
snippet is supposed to go under the (extensions ...) field of a
<service-type> record. If you want to extend this in your system
config, you want (simple-service ...) instead, with e.g.
--8<---------------cut here---------------start------------->8---
(simple-service 'alice-role postgresql-role-service-type
(postgresql-role
(name "alice")
(create-database? #t)))
--8<---------------cut here---------------end--------------->8---
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
prev parent reply other threads:[~2024-01-30 22:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-27 2:14 bug#68747: Extending postgresql-role-service-type as shown in manual leads to crash Maxim Cournoyer
2024-01-30 22:18 ` Josselin Poiret via Bug reports for GNU Guix [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plxizcrl.fsf@jpoiret.xyz \
--to=bug-guix@gnu.org \
--cc=68747@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).