From 7406974832dae50d9e09713e7a4c93dc0fbfba47 Mon Sep 17 00:00:00 2001 From: Nick <0xb000@gmail.com> Date: Sun, 24 Nov 2024 16:01:37 +0200 Subject: [PATCH] Document Wrap database mirror usage --- docs/markdown/Using-the-WrapDB.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/markdown/Using-the-WrapDB.md b/docs/markdown/Using-the-WrapDB.md index baccfdc17c02..93be834b68f6 100644 --- a/docs/markdown/Using-the-WrapDB.md +++ b/docs/markdown/Using-the-WrapDB.md @@ -45,3 +45,15 @@ The contents of the Wrap database are tracked in git repos of the [Mesonbuild project](https://github.com/mesonbuild). The actual process is simple and described in [submission documentation](Adding-new-projects-to-wrapdb.md). + +## Self-hosted Wrap database + +If for whatever reason you want to use self-hosted or proxied Wrap database *(since 1.X.X)* you may override server address with the `MESON_WRAPDB_MIRROR` environment variable: + +```console +$ export MESON_WRAPDB_MIRROR=user:password@wrapdb.mydomain.invalid:8080 +$ meson wrap update-db +$ meson wrap install zlib +``` + +You will be limited to the wraps available on the mirror. \ No newline at end of file