Specify a custom PATH for Git, NixOS FHS non-compliance


#1

Is there a way to specify to the Atom Editor the path where my git package is installed ? Can a custom PATH be used ?
I am trying to commit to github a text file from inside the Atom Editor using the Git Tab but it gives me some error as if Atom is not aware that the package git is installed in my system. I am using NixOS linux distribution and it is possible that the error occurs because of NixOS non-compliance to the linux Filesystem Hierarchy Standard.
The error is:

Unable to push
fatal: cannot run send-pack: No such file or directory
error: failed to push some refs to ‘https://github.com/neomwar/xx-change.git