mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 01:36:15 +02:00
Simplify error message
This commit is contained in:
parent
795b21f0da
commit
18c6daf1a8
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ static Flake readFlake(
|
||||||
auto flakePath = rootDir + flakeDir + "flake.nix";
|
auto flakePath = rootDir + flakeDir + "flake.nix";
|
||||||
|
|
||||||
if (!flakePath.pathExists())
|
if (!flakePath.pathExists())
|
||||||
throw Error("source tree referenced by '%s' does not contain a file named '%s'", resolvedRef, flakePath.path);
|
throw Error("file '%s' does not exist", flakePath);
|
||||||
|
|
||||||
Value vInfo;
|
Value vInfo;
|
||||||
state.evalFile(flakePath, vInfo, true);
|
state.evalFile(flakePath, vInfo, true);
|
||||||
|
|
Loading…
Reference in a new issue