mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
Merge pull request #213602 from SuperSandro2000/types.string
nixos/virtualisation/*: replace deprecated types.string with types.str
This commit is contained in:
commit
f1a142c476
@ -28,13 +28,13 @@ in {
|
||||
options = {
|
||||
mount = lib.mkOption {
|
||||
description = lib.mdDoc "Where to mount this dataset.";
|
||||
type = types.nullOr types.string;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
properties = lib.mkOption {
|
||||
description = lib.mdDoc "Properties to set on this dataset.";
|
||||
type = types.attrsOf types.string;
|
||||
type = types.attrsOf types.str;
|
||||
default = {};
|
||||
};
|
||||
};
|
||||
|
@ -29,13 +29,13 @@ in
|
||||
options = {
|
||||
mount = lib.mkOption {
|
||||
description = lib.mdDoc "Where to mount this dataset.";
|
||||
type = types.nullOr types.string;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
properties = lib.mkOption {
|
||||
description = lib.mdDoc "Properties to set on this dataset.";
|
||||
type = types.attrsOf types.string;
|
||||
type = types.attrsOf types.str;
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user