[23.05] modules: types.string throws error now (#4324) (#4343)

Since the merge of https://github.com/NixOS/nixpkgs/pull/247848

(cherry picked from commit 7b8d43fbaf)

Co-authored-by: Christian Albrecht <christian.albrecht@mayflower.de>
This commit is contained in:
Naïm Favier 2023-08-15 13:45:05 +02:00 committed by GitHub
parent 7f351e2993
commit 2a6679aa9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ let
};
settings = mkOption {
type = types.attrsOf types.string;
type = types.attrsOf types.str;
description = ''
Extra key-value pairs to add to the <literal>[Desktop Entry]</literal> section.
This may override other values.

View file

@ -36,7 +36,7 @@ in {
};
dsaFingerprint = mkOption {
type = with types; nullOr string;
type = with types; nullOr str;
default = null;
example = literalExpression
"SHA256:1111111111111111111111111111111111111111111";
@ -44,7 +44,7 @@ in {
};
rsaFingerprint = mkOption {
type = with types; nullOr string;
type = with types; nullOr str;
default = null;
example = literalExpression
"SHA256:1111111111111111111111111111111111111111111";