From 7b8d43fbaf8450c30caaed5eab876897d0af891b Mon Sep 17 00:00:00 2001 From: Christian Albrecht Date: Tue, 8 Aug 2023 17:00:24 +0200 Subject: [PATCH] modules: types.string throws error now (#4324) Since the merge of https://github.com/NixOS/nixpkgs/pull/247848 --- modules/misc/xdg-desktop-entries.nix | 2 +- modules/programs/tmate.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/misc/xdg-desktop-entries.nix b/modules/misc/xdg-desktop-entries.nix index a810796f1..7ec7fa568 100644 --- a/modules/misc/xdg-desktop-entries.nix +++ b/modules/misc/xdg-desktop-entries.nix @@ -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. diff --git a/modules/programs/tmate.nix b/modules/programs/tmate.nix index 025421bd3..355474101 100644 --- a/modules/programs/tmate.nix +++ b/modules/programs/tmate.nix @@ -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";