mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Extend Nix repl missing executable error message
Co-Authored-By: Robert Hensing <robert@roberthensing.nl
This commit is contained in:
parent
6594573f3d
commit
67a66212c3
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user