Getting sqlite error when trying to run nix build command

Hi all, im facing this issue when trying to run the nix build command. Cannot find anything that works online
image