diff options
author | tv <tv@krebsco.de> | 2019-02-16 19:18:04 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-02-16 19:18:04 +0100 |
commit | a2ebc2cb456e9ad3ece900ac88be69c250dff073 (patch) | |
tree | 164f17aaf51d351e3f585b6ef5fe563b9df774b2 | |
parent | 80ff70bd6ae0f98f3565b9a17b91d6d4d6f03816 (diff) |
lib.types.filename.check: remove unnecessary ()
-rw-r--r-- | lib/types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix index 17c1688..45c0098 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -539,7 +539,7 @@ rec { # POSIX.1‐2013, 3.278 Portable Filename Character Set filename = mkOptionType { name = "POSIX filename"; - check = test "([0-9A-Za-z._])[0-9A-Za-z._-]*"; + check = test "[0-9A-Za-z._][0-9A-Za-z._-]*"; merge = mergeOneOption; }; |