1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00

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) if (runNixPtr)
(*runNixPtr)(program, args, input); (*runNixPtr)(program, args, input);
else 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);
} }