Change deprecated types.string to types.str

This commit is contained in:
Moises Nessim 2019-09-19 12:00:50 -05:00
parent 520c80d927
commit 0f0f976eab
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ in
description = "A derivation that produces a docker-compose.yaml file for this composition."; description = "A derivation that produces a docker-compose.yaml file for this composition.";
}; };
build.dockerComposeYamlText = lib.mkOption { build.dockerComposeYamlText = lib.mkOption {
type = lib.types.string; type = lib.types.str;
description = "The text of build.dockerComposeYaml."; description = "The text of build.dockerComposeYaml.";
}; };
docker-compose.raw = lib.mkOption { docker-compose.raw = lib.mkOption {

View file

@ -15,7 +15,7 @@
}; };
host.nixStorePrefix = lib.mkOption { host.nixStorePrefix = lib.mkOption {
type = lib.types.string; type = lib.types.str;
default = ""; default = "";
example = "/mnt/foo"; example = "/mnt/foo";
description = '' description = ''