From 63e0b5d081fed582ac6a0a66f402dc525953524b Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 16 Aug 2023 15:46:37 +0200 Subject: GC root for fetched nixpkgs/lib content --- tests/modules/declare-set.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/modules/declare-set.nix (limited to 'tests/modules/declare-set.nix') diff --git a/tests/modules/declare-set.nix b/tests/modules/declare-set.nix new file mode 100644 index 000000000..853418531 --- /dev/null +++ b/tests/modules/declare-set.nix @@ -0,0 +1,12 @@ +{ lib, ... }: + +{ + options.set = lib.mkOption { + default = { }; + example = { a = 1; }; + type = lib.types.attrsOf lib.types.int; + description = '' + Some descriptive text + ''; + }; +} -- cgit v1.2.3