summaryrefslogtreecommitdiffstats
path: root/lib/types
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-08-08 17:12:48 +0200
committerlassulus <lassulus@lassul.us>2019-08-08 17:12:48 +0200
commit8f44460003ae10f543ccb6a29f15b57e42ca3aad (patch)
tree4c9610f2fd913c2bf293bd1e4ebb521379bd55ae /lib/types
parent14a54637ce53ac07aae5ff8bda9d411c0efd5823 (diff)
populate git: add fetchAlways optionfetchAlways
Diffstat (limited to 'lib/types')
-rw-r--r--lib/types/populate.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types/populate.nix b/lib/types/populate.nix
index 49996f6..bf90ace 100644
--- a/lib/types/populate.nix
+++ b/lib/types/populate.nix
@@ -81,6 +81,10 @@
type = lib.types.listOf lib.types.str;
};
};
+ fetchAlways = lib.mkOption {
+ type = lib.types.bool;
+ default = false;
+ };
ref = lib.mkOption {
type = lib.types.str; # TODO lib.types.git.ref
};