From 0f0f976eab6ad21cf45c0b1a943b3f2172bbb9f6 Mon Sep 17 00:00:00 2001 From: Moises Nessim Date: Thu, 19 Sep 2019 12:00:50 -0500 Subject: [PATCH] Change deprecated types.string to types.str --- src/nix/modules/composition/docker-compose.nix | 2 +- src/nix/modules/composition/host-environment.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nix/modules/composition/docker-compose.nix b/src/nix/modules/composition/docker-compose.nix index 95855ff..24b33c5 100644 --- a/src/nix/modules/composition/docker-compose.nix +++ b/src/nix/modules/composition/docker-compose.nix @@ -21,7 +21,7 @@ in description = "A derivation that produces a docker-compose.yaml file for this composition."; }; build.dockerComposeYamlText = lib.mkOption { - type = lib.types.string; + type = lib.types.str; description = "The text of build.dockerComposeYaml."; }; docker-compose.raw = lib.mkOption { diff --git a/src/nix/modules/composition/host-environment.nix b/src/nix/modules/composition/host-environment.nix index 3e36531..5989695 100644 --- a/src/nix/modules/composition/host-environment.nix +++ b/src/nix/modules/composition/host-environment.nix @@ -15,7 +15,7 @@ }; host.nixStorePrefix = lib.mkOption { - type = lib.types.string; + type = lib.types.str; default = ""; example = "/mnt/foo"; description = ''