Skip to content

Commit

Permalink
types.string -> types.str
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LnL7 committed Jul 21, 2018
1 parent 67f1510 commit fa3f679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/services/emacs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in
};

exec = mkOption {
type = types.string;
type = types.str;
default = "emacs";
description = "Emacs command/binary to execute.";
};
Expand Down
2 changes: 1 addition & 1 deletion modules/users/group.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ with lib;
};

members = mkOption {
type = types.listOf types.string;
type = types.listOf types.str;
default = [];
description = "The group's members.";
};
Expand Down

0 comments on commit fa3f679

Please sign in to comment.