mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
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.
This commit is contained in:
parent
64a3b045c1
commit
e989c83b44
5 changed files with 227 additions and 25 deletions
|
@ -1,4 +1,3 @@
|
|||
#include "machines.hh"
|
||||
#include "worker.hh"
|
||||
#include "substitution-goal.hh"
|
||||
#include "derivation-goal.hh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue