Subject: [PATCH v7 4/5] gnu: Add mariadb-embedded.

From: Sughosha <[email-masked]>
Date: Sat, 23 Aug 2025 13:01:02 +0530

* gnu/packages/databases.scm (mariadb-embedded): New variable.

Change-Id: I0ba6c8110dea449d38594b4e8c76a7eeb5e0d76d
---
 gnu/packages/databases.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1500fbe145..de42e23ae4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1403,6 +1403,13 @@ (define-public mariadb
 as a drop-in replacement of MySQL.")
     (license license:gpl2)))
 
+(define-public mariadb-embedded
+  (package/inherit mariadb
+    (arguments
+     (substitute-keyword-arguments (package-arguments mariadb)
+       ((#:configure-flags flags)
+        #~(append '("-DWITH_EMBEDDED_SERVER=ON") #$flags))))))
+
 (define-public mariadb-connector-c
   (package
     (name "mariadb-connector-c")
-- 
2.50.1