[Haskell-cafe] error when running stack
ietf-dane at dukhovni.org
Sun Oct 25 07:20:24 UTC 2020
On Sat, Oct 24, 2020 at 06:03:59PM -0700, Dennis Raddle wrote:
> I get this error when running stack:
> Downloading lts- xxxx building plan
> aesonException "Error in $['system-info']: key \"os\" not present"
The files in question are the build plan files, e.g.
Older versions of stack used to look for an "os" field
under "system-info" in these files:
That code was dropped from stack some time back (between v1.5.1 and
v1.6.1), and new build plans likely don't include the no longer needed
information. Perhaps you're trying to use a very old stack executable
(older than 1.6.1?) to process a new build plan (LTS snapshot).
Author: Michael Snoyman <michael at snoyman.com>
Date: Mon Jun 26 08:35:31 2017 +0300
Remove a bunch of unneeded info from BuildPlan
> running "stack update" didn't help.
> I'm very confused because I don't remember what I did that provoked this
Simplest is probably to reinstall stack from scratch, perhaps you're
missing too many intermediate versions to perform a direct upgrade.
More information about the Haskell-Cafe