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
commit7104abdb98661ba4831871112b6e03f6ee0d3c96 (patch)
tree109cd198fcfe38828775eeedfd203c5875570036 /lib
parent6af3ac9271d9e082351f3e043301fc4b00188900 (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 2efa5a6..ffae8c7 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";