summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-17 20:19:39 +0200
committertv <tv@krebsco.de>2019-04-17 20:19:39 +0200
commit4da25a3fef38e233338414fb651aee9e3143efc1 (patch)
tree972280624fcce0475180c8de41c58a802936545c /lib
parent32dc278aca2f3031f4ecc8696898e216db003b19 (diff)
lib: add POSIX.1‐2017, 3.190 Group Name
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 2efa5a68a..ffae8c7bc 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -542,6 +542,13 @@ rec {
merge = mergeOneOption;
};
+ # POSIX.1‐2017, 3.190 Group Name
+ groupname = mkOptionType {
+ name = "POSIX group name";
+ check = filename.check;
+ merge = mergeOneOption;
+ };
+
# POSIX.1‐2017, 3.281 Portable Filename
filename = mkOptionType {
name = "POSIX portable filename";