I managed to run intero on #nixos. It was all stack's fault!
Long story short, when run on nixos without nix being explicitly enabled in stack.yaml, stack prints "Note: Enabling Nix integration..." message, which fucks up parsing in intero.el.
@pureevil It was removed back in May: https://github.com/commercialhaskell/stack/commit/e74b0c05415329119f60fe840191f699ac1050b5#diff-dd24cfdc1aa1c30ec6a9b98528de6d55L47
A very short-lived feature, to be sure. It was added at the end of March: https://github.com/commercialhaskell/stack/commit/b60819cbe9dc5e97cdc3771a0fb538d21ab190d2#diff-dd24cfdc1aa1c30ec6a9b98528de6d55R47
(When `git grep` doesn't work, I fire up `git log --patch` and search through *that*.)
@minoru oh, thanks! That explains it. Looks like it made it's way into v1.7.1.
Another curious thing is that stack devs don't use MultiWayIf for some reason. Stack is weird.
Curious thing is, I can't find that exact message in stack source code anywhere.