diff options
author | Alexey Novikov <alexey@novikov.io> | 2021-10-12 16:18:44 +0400 |
---|---|---|
committer | Alexey Novikov <alexey@novikov.io> | 2021-10-17 12:45:56 +0400 |
commit | e989c83b44d7c4d8ffe2e5f4231e4861c5f7732f (patch) | |
tree | 3ae4123d242a00e628fbae3c08f2b2a3ae1b1d98 /src/libstore/build | |
parent | 64a3b045c12c3e0fa98f5967ceb38378eaf70e2d (diff) |
Add error reporting to machine spec paser
Currently machine specification (`/etc/nix/machine`) parser fails
with a vague exception if the file had incorrect format.
This commit adds verbose exceptions and unit-tests for the parser.
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/entry-points.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/build/entry-points.cc b/src/libstore/build/entry-points.cc index 2b77e4354..b1e5d8504 100644 --- a/src/libstore/build/entry-points.cc +++ b/src/libstore/build/entry-points.cc @@ -1,4 +1,3 @@ -#include "machines.hh" #include "worker.hh" #include "substitution-goal.hh" #include "derivation-goal.hh" |