Merge pull request #312212 from nikstur/os-release-uapi-version-format

nixos/version: support UAPI Version Format in IMAGE_VERSION field
This commit is contained in:
nikstur 2024-05-17 10:54:17 +02:00 committed by GitHub
commit 203f99022a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.