Closed jneira closed 4 years ago
There is a unit test failing due to the version bump to 1.2
, weird that it was not triggered before :thinking:
Fixed unit test with f6ba5ed (cc @gdziadkiewicz )
Sorry for the problem :( and thanks for the cc, I appreciate the opportunity to learn how to do things better :)
@gdziadkiewicz dont worry, your contributions have been great and that is a minor detail, only want to show you just in case you have not used the Paths_*
magic module before.
The macos-installhs-cabal
azure job failed cause brew installs ghc-8.8.3
by default but we dont support it yet and there is no stack-8.8.3.yaml
Nice catch, @jneira!
Oh! I'm pretty sure that the problem here was that @rev1
is the wrong syntax, it should be @rev:1
, as documented here.
I looked at the pantry source code (which is what parses these fields), and it seems to just use the latest revision for @rev1
(aka it couldn't parse it): https://github.com/commercialhaskell/pantry/blob/603fea5f4cb812b08edc74cd9e1178fa76309f55/src/Pantry/Types.hs#L769-L785
There's another instance of this in master, introduced in 0bdf8ccd9cfffff74bb2d3eb1950856ee1abed02. I'll make a PR to fix this (-> https://github.com/haskell/haskell-ide-engine/pull/1770)
@revn
way to specify a revision instack.yaml
files seems to be not reliable: it is using the package version without the revision under some circumstances. It is possible that wipping out the entire$STACK_ROOT
could fix it but is is not desirable