Back in the days, this used to be the modus operandi, but then, still many but less years ago, Eelco came along and changed it to passing in the actual file. Of course, no motivation was provided, and it was only done on half of the test runners for some reason, leaving us to wonder what the true intentions of this code are … Anyways, with this commit now everything standardises on passing in the file by path instead of via stdin. Motivation: - We need to `sed` out the path anyways for various other reasons, including import tests and path value tests - Given that, the presumed primary motivation for using stdin in the first place becomes moot - Bonus points for giving better error messages, especially in tests that involve multiple input files Change-Id: Ic6de1ec24f4c4d3c05e33d1ee053614784677513
7 lines
242 B
Plaintext
7 lines
242 B
Plaintext
error: attribute 'z' already defined at /pwd/parse-fail-mixed-nested-attrs1.nix:3:16
|
|
at /pwd/parse-fail-mixed-nested-attrs1.nix:2:3:
|
|
1| {
|
|
2| x.z = 3;
|
|
| ^
|
|
3| x = { y = 3; z = 3; };
|