A workaround without rebuilding gdm is to create a new file /etc/profile.d/gdm-fix.sh and copy the PATH definition from /etc/environment there.
A workaround without rebuilding gdm is to create a new file /etc/profile. d/gdm-fix. sh and copy the PATH definition from /etc/environment there.