aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_state.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_state.erl')
-rw-r--r--src/rlx_state.erl10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl
index 4c6df07..74304cc 100644
--- a/src/rlx_state.erl
+++ b/src/rlx_state.erl
@@ -134,9 +134,13 @@ new(PropList, Targets)
upfrom = proplists:get_value(upfrom, PropList, undefined),
default_configured_release={proplists:get_value(relname, PropList, undefined),
proplists:get_value(relvsn, PropList, undefined)}},
- rlx_state:put(create_logic_providers(State0),
- default_libs,
- proplists:get_value(default_libs, PropList, true)).
+ State1 = rlx_state:put(create_logic_providers(State0),
+ default_libs,
+ proplists:get_value(default_libs, PropList, true)),
+
+ rlx_state:put(create_logic_providers(State1),
+ overlay_vars,
+ proplists:get_value(overlay_vars, PropList, [])).
%% @doc the actions targeted for this system
-spec actions(t()) -> [action()].