{"action":"created","issue":{"url":"https://api.github.com/repos/erlware/relx/issues/331","labels_url":"https://api.github.com/repos/erlware/relx/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/erlware/relx/issues/331/comments","events_url":"https://api.github.com/repos/erlware/relx/issues/331/events","html_url":"https://github.com/erlware/relx/issues/331","id":68648769,"number":331,"title":"overlay inclusion","user":{"login":"martinpritchard","id":11932308,"avatar_url":"https://avatars.githubusercontent.com/u/11932308?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpritchard","html_url":"https://github.com/martinpritchard","followers_url":"https://api.github.com/users/martinpritchard/followers","following_url":"https://api.github.com/users/martinpritchard/following{/other_user}","gists_url":"https://api.github.com/users/martinpritchard/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpritchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpritchard/subscriptions","organizations_url":"https://api.github.com/users/martinpritchard/orgs","repos_url":"https://api.github.com/users/martinpritchard/repos","events_url":"https://api.github.com/users/martinpritchard/events{/privacy}","received_events_url":"https://api.github.com/users/martinpritchard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-15T11:04:38Z","updated_at":"2015-11-21T21:41:35Z","closed_at":null,"body":"Please could you provide an example of how to achieve the following as documented in the wiki: \"Relx also allows you to include other overlay files from an overlay file, the syntax is the same as used in Erlang (see config).\"?\r\n\r\nI have tried various ways of getting this work without success.  The implication is that you can specify additional overlay_vars files somehow, but if I specify a filename in a vars file I get an error\r\n\r\noverlay vars looks something like \r\n```\r\n{host, \"localhost\"}.\r\n\"vars1.config\".\r\n```\r\n\r\nwhich gives the following error:\r\n```\r\nscript: exception error: bad argument\r\n\r\nin function  lists:ukeysort/2 (lists.erl, line 858)\r\nin call from rlx_prv_overlay:'-merge_overlay_vars/2-anonymous-0-'/4 (src/rlx_prv_overlay.erl, line 172)\r\nin call from lists:foldl/3 (lists.erl, line 1261)\r\nin call from rlx_prv_overlay:read_overlay_vars/3 (src/rlx_prv_overlay.erl, line 156)\r\nin call from rlx_prv_overlay:do/1 (src/rlx_prv_overlay.erl, line 63)\r\nin call from providers:run_all/2 (src/providers.erl, line 86)\r\nin call from relx:run_provider/2 (src/relx.erl, line 286)\r\nin call from lists:foldl/3 (lists.erl, line 1261)\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/erlware/relx/issues/comments/158684195","html_url":"https://github.com/erlware/relx/issues/331#issuecomment-158684195","issue_url":"https://api.github.com/repos/erlware/relx/issues/331","id":158684195,"user":{"login":"lrascao","id":639415,"avatar_url":"https://avatars.githubusercontent.com/u/639415?v=3","gravatar_id":"","url":"https://api.github.com/users/lrascao","html_url":"https://github.com/lrascao","followers_url":"https://api.github.com/users/lrascao/followers","following_url":"https://api.github.com/users/lrascao/following{/other_user}","gists_url":"https://api.github.com/users/lrascao/gists{/gist_id}","starred_url":"https://api.github.com/users/lrascao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrascao/subscriptions","organizations_url":"https://api.github.com/users/lrascao/orgs","repos_url":"https://api.github.com/users/lrascao/repos","events_url":"https://api.github.com/users/lrascao/events{/privacy}","received_events_url":"https://api.github.com/users/lrascao/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T21:41:35Z","updated_at":"2015-11-21T21:41:35Z","body":"@tsloughter, actually you can, #319 introduced this feature"}}