Created
January 16, 2019 15:22
-
-
Save Synthetica9/4c35ecda7b592d01e68fa9b224f04bc3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Doesn't work: | |
| $ cat examples/diyInherit.nix | ./result/bin/nix-linter /dev/stdin | |
| Failure when parsing: | |
| /dev/stdin:1:1: | |
| | | |
| 1 | <empty line> | |
| | ^ | |
| unexpected end of input | |
| expecting '{', assert, if, let block, letter, or with | |
| # Works: | |
| ./result/bin/nix-linter /dev/stdin < examples/diyInherit.nix | |
| Use `inherit x` at /dev/stdin:1:3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment