Unverified Commit 4726504f authored by WilliButz's avatar WilliButz Committed by GitHub
Browse files

Merge pull request #315656 from nikstur/os-release-remove-type-constraints

nixos/version: remove strict type constraints from image options
parents b6762bec acba6877
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ in
    image = {

      id = lib.mkOption {
        type = types.nullOr (types.strMatching "^[a-z0-9._-]+$");
        type = types.nullOr types.str;
        default = null;
        description = ''
          Image identifier.
@@ -135,7 +135,7 @@ in
      };

      version = lib.mkOption {
        type = types.nullOr (types.strMatching "^[a-z0-9._-~^]+$");
        type = types.nullOr types.str;
        default = null;
        description = ''
          Image version.