From 170c46d53c83c9bf277b7b6dba7e86c052eae257 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 31 Oct 2018 18:24:57 +0100 Subject: populate git: add clean.exclude --- lib/types/populate.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/types/populate.nix') diff --git a/lib/types/populate.nix b/lib/types/populate.nix index 3b13df0..f35786d 100644 --- a/lib/types/populate.nix +++ b/lib/types/populate.nix @@ -56,6 +56,12 @@ }; git = lib.types.submodule { options = { + clean = { + exclude = lib.mkOption { + default = []; + type = lib.types.listOf lib.types.str; + }; + }; ref = lib.mkOption { type = lib.types.str; # TODO lib.types.git.ref }; -- cgit v1.2.3