~abcdw/rde

92f8a21a3d1f12f260af3e5b95caaf91a11d5dd2 — Nicolas Graves 2 months ago 0b85fec
rde: databases: Export postgresql-role

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.
1 files changed, 2 insertions(+), 1 deletions(-)

M src/rde/features/databases.scm
M src/rde/features/databases.scm => src/rde/features/databases.scm +2 -1
@@ 29,7 29,8 @@
  #:use-module (gnu services databases)
  #:use-module (srfi srfi-1)
  #:export (feature-postgresql
            feature-sqlite))
            feature-sqlite)
  #:re-export (postgresql-role))

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