diff options
author | lassulus <lassulus@lassul.us> | 2019-03-12 11:18:05 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-03-12 11:18:05 +0100 |
commit | a56a2ef0083653a0c0d5c6339857878521958b5d (patch) | |
tree | b81a6a64b916464bd9702f153e852b48d59c167d /lib | |
parent | c4ebcc43d2b2f2451b16ee453f5275bd46018cd4 (diff) | |
parent | 4b7673a6a7f221119883ec043519b2f7323779e1 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lib')
-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 17c1688fa..45c009893 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; }; |