Dear both,
There is no problem with the Nakagami nor it requires any patch.
The Nakagami-m only gives you the FastFading effect which simply vary the RxPower according to a Nakagami distribution.
In order to have also the effect of distance, then you add the Three Log Distance or any other model you want.
NS-3 provides the API for that in the ChannelHelper class.
And with an example:
YansWifiChannelHelper wifiChannel;
wifiChannel.AddPropagationLoss("ns3::LogDistancePropagationLossModel");
wifiChannel.AddPropagationLoss("ns3::NakagamiPropagationLossModel");
and you can add any other parameters/attributes to each of the models.