plugins/chadtree: init + test (#475)

* plugins/chadtre: init + test

* Update tests/test-sources/plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Removed with helpers

* Update tests/test-sources/plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* retrigger checks

* Update tests/test-sources/plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
Antonín Říha 2023-07-12 22:03:09 +02:00 committed by GitHub
parent efa95334e6
commit 0d2a436255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 543 additions and 1 deletions

View file

@ -141,7 +141,7 @@ with lib; rec {
else "false"
);
mkStr = default: mkNullable lib.types.str ''${builtins.toString default}'';
mkAttributeSet = default: mkNullable lib.types.attrs ''"${default}"'';
mkAttributeSet = default: mkNullable lib.types.attrs ''${default}'';
mkEnum = enum: default: mkNullable (lib.types.enum enum) ''"${default}"'';
mkEnumFirstDefault = enum: mkEnum enum (head enum);
mkBorder = default: name: desc: