I get this error when running stack:

Downloading lts- xxxx building plan
aesonException "Error in $['system-info']: key \"os\" not present"

running "stack update" didn't help.
I'm very confused because I don't remember what I did that provoked this error.
Anyone know what's going on?
Dennis