Collision error with two packages that provide an executable with the same name

Both the teleport and temporal-cli packages include an executable named tctl and attempting to install them both into the same environment results in this error:

environment> error: collision between `/nix/store/aw9zjxk0s7k0l2l1sx8lrs9ms4acihxj-temporal-cli-1.18.0/bin/tctl' and `/nix/store/ak4nmpqijdvj3kf5gq1j8a2vy9cnz24i-teleport-14.3.0/bin/tctl'

Is there any way to work around this? Can flox be configured to rename the symlink to the /nix/store path for one of the packages to something else?

I found How to solve a collision error when installing some packages for a similar sounding error but that looks like it was a bug that doesn’t apply here.

You can add a priority for each package, e.g. if you want teleport to win you could say:
teleport.priority = 1

The default priority is 5. Packages with a lower priority value will take precedence over packages with higher priority values.