diff options
author | nikstur <nikstur@outlook.com> | 2024-05-17 10:54:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 10:54:17 +0200 |
commit | 203f99022ad39a21a92c849160b70449e25de9f2 (patch) | |
tree | 33aa959547b3bf9ddf7daf621554f3e54dd5993e /nixos | |
parent | 7f4c36c982a798a954a2f8643060de3a10a3bac9 (diff) | |
parent | ff776981fe942bc0d55d13ed388940adacfb95fd (diff) |
Merge pull request #312212 from nikstur/os-release-uapi-version-format
nixos/version: support UAPI Version Format in IMAGE_VERSION field
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/misc/version.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index d582e0c162de3..29e9498018ec9 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -135,7 +135,7 @@ in }; version = lib.mkOption { - type = types.nullOr (types.strMatching "^[a-z0-9._-]+$"); + type = types.nullOr (types.strMatching "^[a-z0-9._-~^]+$"); default = null; description = '' Image version. |