Merge pull request #6292 from polykernel/permissive-spacing-repl

nix: allow whitespace characters before command in repl
This commit is contained in:
Eelco Dolstra 2022-03-25 10:24:06 +01:00 committed by GitHub
commit 377782ecae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,6 +396,7 @@ StorePath NixRepl::getDerivationPath(Value & v) {
bool NixRepl::processLine(std::string line)
{
line = trim(line);
if (line == "") return true;
_isInterrupted = false;