72: Change deprecated types.string to types.str r=roberth a=moinessim

To avoid: "trace: warning: types.string is deprecated because it quietly concatenates strings"

Co-authored-by: Moises Nessim <moises.nessim@topmanage.com>
This commit is contained in:
bors[bot] 2019-09-19 20:45:24 +00:00 committed by GitHub
commit 81a51ae5ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 = ''