390 Driver install fails with [An error occurred while performing the step: “building kernel modules”. See /var/log/nvidia-installer.log…]

System Specs:
Laptop: Dell Latitude E5440
GPU: GT 720M
OS: Endeavour OS (Neo-2024) [Arch Based]
Kernel: 6.6.72-1-lts

Just recently, I have tried to install graphics drivers (version: 390.157) the installation of the new one fails.

I have tried purging all Nvidia packages from my system, looking for Nvidia files and deleting them by hand, and even updated all packages. Still the issue persist.

The error log is attatched below:
nvidia-installer.log (2.0 MB)