plugin/persistence: init + tests (#645)

This commit is contained in:
traxys 2023-10-16 23:54:41 +02:00 committed by GitHub
parent a9698ea2b0
commit 0b87e5b70c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 0 deletions

View file

@ -107,6 +107,8 @@ with lib; rec {
then null
else y;
mkRawIfNonNull = v: ifNonNull' v (mkRaw v);
mkCompositeOption = desc: options:
mkNullOrOption (types.submodule {inherit options;}) desc;