Extend Nix repl missing executable error message

Co-Authored-By: Robert Hensing <robert@roberthensing.nl
This commit is contained in:
John Ericson 2024-10-09 11:08:31 -04:00
parent 6594573f3d
commit 67a66212c3

View file

@ -826,7 +826,7 @@ void NixRepl::runNix(Path program, const Strings & args, const std::optional<std
if (runNixPtr)
(*runNixPtr)(program, args, input);
else
throw Error("Cannot run '%s', no method of calling the Nix CLI provided", program);
throw Error("Cannot run '%s' because no method of calling the Nix CLI was provided. This is a configuration problem pertaining to how this program was built. See Nix 2.25 release notes", program);
}