Environment variables in service definitions don't seem to work

I’m following the example in Services - Flox Docs for how to set up a service, but the variables don’t seem to be passed through.

This doesn’t work:

[services.tomcat]
command = "catalina.sh jpda start"
vars.JPDA_ADDRESS = "5005"
vars.JPDA_TRANSPORT = "dt_socket"
is-daemon = true
shutdown.command = "catalina.sh stop"

But this does:

[services.tomcat]
command = "JPDA_ADDRESS=5005 JPDA_TRANSPORT=dt_socket catalina.sh jpda start"
is-daemon = true
shutdown.command = "catalina.sh stop"

Am I missing something obvious?

Nope that’s a bug, thanks for flagging! Tracking in Service specific variables not working · Issue #2431 · flox/flox · GitHub