Unable to use Selenium Webdriver after Migrating to NIX

Before Migrating to Nix, I was able to use Selenium with Chrome driver, But after migrating to Nix getting an error: The version of chrome cannot be detected. Trying with latest driver version

selenium.common.exceptions.WebDriverException: Message: Service /home/runner/.cache/selenium/chromedriver/linux64/114.0.5735.90/chromedriver unexpectedly exited. Status code was: 127

Please Help with this, Regarding this issue, I cant find any Topics Related to Replit Nix and Selenium.
Thanks in advance