This is a collection of Lix plugins that showcase how to write one for various usecases. The first is a mTLS store plugin that enable mTLS cache URIs (`https+mtls://`). We enable meson build system support for this plugin but we are not going to distribute it in the official packaging of Lix, we will repackage each relevant plugin downstream in Nixpkgs. These plugins have *NO* guarantee support, they are provided as useful references and are possibly production-ready if your usecase is simple enough. Reference: https://github.com/NixOS/nix/pull/13030 (this change has resemblances but our APIs are different, the tests harness is mostly from CppNix). Change-Id: Ib354271981b35dff6c134b12c4748c3eaf743fcb Co-authored-by: Jörg Thalheim <joerg@thalheim.io> Co-authored-by: László Vaskó <1771332+vlaci@users.noreply.github.com> Signed-off-by: Raito Bezarius <raito@lix.systems>
15 lines
281 B
Meson
15 lines
281 B
Meson
plugin_mtls_store = shared_module(
|
|
'plugin_mtls_store',
|
|
'plugin_mtls_store.cc',
|
|
dependencies : [
|
|
liblixutil,
|
|
liblixstore,
|
|
liblixexpr,
|
|
liblixfetchers,
|
|
curl,
|
|
],
|
|
install : false,
|
|
build_by_default : true,
|
|
link_args : strict_shared_module_link_args,
|
|
)
|