diff options
author | Enno Lohmeier <enno@nerdworks.de> | 2020-07-02 09:27:55 +0200 |
---|---|---|
committer | Enno Lohmeier <enno@nerdworks.de> | 2020-07-02 16:43:42 +0200 |
commit | 54eb1c89cf66ab882427c0d714f5c9a498687326 (patch) | |
tree | 6da01501ec47bade5a259d00c10f6f5a1c9c8c22 /lib | |
parent | 3e731035ed44659624e6d00bbb35570f2b8811fd (diff) |
add `shallow` option to git source type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types/populate.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types/populate.nix b/lib/types/populate.nix index 4ac9b1f..894b8cc 100644 --- a/lib/types/populate.nix +++ b/lib/types/populate.nix @@ -140,6 +140,10 @@ url = lib.mkOption { type = lib.types.str; # TODO lib.types.git.url }; + shallow = lib.mkOption { + default = false; + type = lib.types.bool; + }; }; }; pass = lib.types.submodule { |