1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

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.
This commit is contained in:
Daiderd Jordan 2018-07-21 13:27:08 +02:00
parent 67f1510862
commit fa3f67966b
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ in
};
exec = mkOption {
type = types.string;
type = types.str;
default = "emacs";
description = "Emacs command/binary to execute.";
};

View file

@ -21,7 +21,7 @@ with lib;
};
members = mkOption {
type = types.listOf types.string;
type = types.listOf types.str;
default = [];
description = "The group's members.";
};