From fa3f67966bfb912eef0f76fc0566aef6d73ae330 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 21 Jul 2018 13:27:08 +0200 Subject: [PATCH] types.string -> types.str These options unintentionally used the deprecated string type, the important difference between these is the fact that string merges by default (similar to eg. lines) while str can only have a single value. --- modules/services/emacs.nix | 2 +- modules/users/group.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/emacs.nix b/modules/services/emacs.nix index f6716ad68..92a278244 100644 --- a/modules/services/emacs.nix +++ b/modules/services/emacs.nix @@ -24,7 +24,7 @@ in }; exec = mkOption { - type = types.string; + type = types.str; default = "emacs"; description = "Emacs command/binary to execute."; }; diff --git a/modules/users/group.nix b/modules/users/group.nix index 5aea7189c..1dc26f1f6 100644 --- a/modules/users/group.nix +++ b/modules/users/group.nix @@ -21,7 +21,7 @@ with lib; }; members = mkOption { - type = types.listOf types.string; + type = types.listOf types.str; default = []; description = "The group's members."; };