Malformed desktop entry preventing launch from plasma application launcher

My current problem is that I currently can’t launch a program (armcord) from the plasma application launcher, It launches fine from console but it’s annoying I can’t launch it from plasma.

I did a little investigating and found that the .desktop file for armcord is not executing just
armcord and instead is trying to launch the application using /nix/store/0n7ag6iiv79lp2ji7424mchph9m28ln7-armcord.desktop/bin/armcord which no longer exists.

I’m not sure what to do from here.

treewide incoming: treewide: avoid absolute paths in desktop file exec by eclairevoyant · Pull Request #332460 · NixOS/nixpkgs · GitHub