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
- feature-sqlite))
+ feature-sqlite)
+ #:re-export (postgresql-role))
(define-public (list-of-postgresql-roles? lst)
(and (list? lst) (every postgresql-role? lst)))
--
2.41.0
--
Best regards,
Nicolas Graves
On 2023-09-15 19:17, Nicolas Graves wrote:
> 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
> - feature-sqlite))
> + feature-sqlite)
> + #:re-export (postgresql-role))
>
> (define-public (list-of-postgresql-roles? lst)
> (and (list? lst) (every postgresql-role? lst)))
> --
> 2.41.0
Thank you for the patch and explanation! Applied, reworded, pushed.
--
Best regards,
Andrew Tropin