modules: types.string throws error now (#4324)

Since the merge of https://github.com/NixOS/nixpkgs/pull/247848
This commit is contained in:
Christian Albrecht 2023-08-08 17:00:24 +02:00 committed by GitHub
parent 903e06d734
commit 7b8d43fbaf
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 `[Desktop Entry]` 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";