feature-database: Export postgresql-role. v1 APPLIED

Nicolas Graves: 1
 feature-database: Export postgresql-role.

 1 files changed, 2 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~abcdw/rde-devel/patches/44767/mbox | git am -3
Learn more about email & git

[PATCH] feature-database: Export postgresql-role. Export this patch

User experience is more simple if we don't have to add other modules than the
one provided with the feature in user configuration. Re-export postgresl-role
to avoid the need to load another module.
 src/rde/features/databases.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/rde/features/databases.scm b/src/rde/features/databases.scm
index 8ce16dd2..4a261fbe 100644
--- a/src/rde/features/databases.scm
+++ b/src/rde/features/databases.scm
@@ -29,7 +29,8 @@
  #:use-module (gnu services databases)
  #:use-module (srfi srfi-1)
  #:export (feature-postgresql
  #:re-export (postgresql-role))

(define-public (list-of-postgresql-roles? lst)
  (and (list? lst) (every postgresql-role? lst)))

Best regards,
Nicolas Graves