mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #316152 from NixOS/backport-315656-to-release-24.05
[Backport release-24.05] nixos/version: remove strict type constraints from image options
This commit is contained in:
commit
42d1d59191
@ -122,7 +122,7 @@ in
|
||||
image = {
|
||||
|
||||
id = lib.mkOption {
|
||||
type = types.nullOr (types.strMatching "^[a-z0-9._-]+$");
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
Image identifier.
|
||||
@ -136,7 +136,7 @@ in
|
||||
};
|
||||
|
||||
version = lib.mkOption {
|
||||
type = types.nullOr (types.strMatching "^[a-z0-9._-~^]+$");
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
Image version.
|
||||
|
Loading…
Reference in New Issue
Block a user