[Haskell-cafe] error when running stack
dennis.raddle at gmail.com
Mon Oct 26 06:16:45 UTC 2020
It seems to be related to ghc-up. I think installing ghc-up changed my
path. Perhaps it's bundled with an old version of stack. Changing the paths
back fixed the problem. So I must be running the version of stack now that
I've been using all this time, that's been working all this time. So..
ghcup seems to have an old version of stack, or puts an old version on the
path? Just thinking out loud here.
On Sun, Oct 25, 2020 at 12:21 AM Viktor Dukhovni <ietf-dane at dukhovni.org>
> 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:
> ghc: 8.6.3
> bytestring: 0.10.8.2
> unix: 22.214.171.124
> base: 126.96.36.199
> time: 188.8.131.52
> hpc: 0.6.0.3
> filepath: 184.108.40.206
> process: 220.127.116.11
> array: 0.5.3.0
> integer-gmp: 18.104.22.168
> containers: 0.6.0.1
> ghc-boot: 8.6.3
> binary: 0.8.6.0
> ghc-prim: 0.5.3
> ghc-heap: 8.6.3
> ghci: 8.6.3
> rts: '1.0'
> terminfo: 0.4.1.2
> transformers: 0.5.5.0
> deepseq: 22.214.171.124
> ghc-boot-th: 8.6.3
> pretty: 126.96.36.199
> template-haskell: 188.8.131.52
> directory: 184.108.40.206
> ghc-version: 8.6.3
> os: linux
> 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).
> commit 624165387b77df09108888a8c4ec3b0b512e5096
> 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
> > error.
> Simplest is probably to reinstall stack from scratch, perhaps you're
> missing too many intermediate versions to perform a direct upgrade.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe