summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2019-03-21 20:09:09 +0100
committerjeschli <jeschli@gmail.com>2019-03-21 20:09:09 +0100
commit34bec52f303b0db7af47ae06605ef2bbbcc6b303 (patch)
tree12b029aee9f63dc2b0b70c280450c240f4183f28 /lib/types.nix
parenta670535cb361a1019034d078c7dc13bc058b5081 (diff)
parentdb8d53cefd8f3fae0b48d5a7d175833c8ea408fe (diff)
Merge branch 'master' of prism.r:stockholm into new-master
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix2
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;
};