Install CM11 based Sailfishos using Multirom and test it on your Nexus 5, you might need to modify the scripts. I am pretty sure that it will not run with CM12 base.