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
13 lines
786 B
Plaintext
13 lines
786 B
Plaintext
warning: __overrides attributes are deprecated and will be removed in the future. Use --extra-deprecated-features rec-set-overrides to silence this warning.
|
|
at /pwd/parse-okay-rec-set-override-warning.nix:3:17:
|
|
2| # Should warn
|
|
3| { a = rec {}; a.__overrides = {}; }
|
|
| ^
|
|
4| rec { __overrides = {}; }
|
|
warning: __overrides attributes are deprecated and will be removed in the future. Use --extra-deprecated-features rec-set-overrides to silence this warning.
|
|
at /pwd/parse-okay-rec-set-override-warning.nix:4:9:
|
|
3| { a = rec {}; a.__overrides = {}; }
|
|
4| rec { __overrides = {}; }
|
|
| ^
|
|
5| # Should not warn: Not recursive
|