mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
formatting and a few minor changes
This commit is contained in:
parent
d44bac1d92
commit
ef9dd9f9bc
13 changed files with 54 additions and 77 deletions
|
@ -427,7 +427,6 @@ expr_simple
|
|||
.hint = hintfmt("URL literals are disabled"),
|
||||
.nixCode = NixCode { .errPos = CUR_POS }
|
||||
});
|
||||
|
||||
$$ = new ExprString(data->symbols.create($1));
|
||||
}
|
||||
| '(' expr ')' { $$ = $2; }
|
||||
|
@ -696,7 +695,6 @@ Path EvalState::findFile(SearchPath & searchPath, const string & path, const Pos
|
|||
Path res = r.second + suffix;
|
||||
if (pathExists(res)) return canonPath(res);
|
||||
}
|
||||
|
||||
throw ThrownError(
|
||||
ErrorInfo {
|
||||
.hint = hintfmt("file '%1%' was not found in the Nix search path (add it using $NIX_PATH or -I)", path),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue