<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>I'm sorry to say but I can guarantee you are going to have a bad time.<br></div><div><br></div><div>Your questions mainly boil down to using rebar3 with pre-built global OTP Applications (packages). This isn't really possible. Rebar3 is meant as a development tool and not to be used as part of distributing software.<br></div><div><br></div><div>You might find installing packages to the $OTP_ROOT/lib directory or setting $ERL_LIBS while dropping deps from the rebar.config starts moving you forward (similar to how using _checkouts moved you forward) but you'll soon hit problems I'm sure. One off the top of my head would be plugins not working, so any package that depends on a plugin to compile would fail.<br></div><div><br></div><div>I don't know much about guix, but if it isn't a source based distro like gentoo and thus ejabberd doesn't have to be built at the time of install then I would suggest looking at packaging ejabberd as an OTP Release and not attempt to add individual OTP Applications (hex packages) as guix packages.<br></div><div><br></div><div>Tristan<br></div></body></html>