rubik / argon

Monitor cyclomatic complexity in Haskell programs
BSD 3-Clause "New" or "Revised" License
97 stars 8 forks source link

Unsupported extension: TypeApplications #37

Open vlasov-y opened 5 years ago

vlasov-y commented 5 years ago

Failed to install argon with cabal install argon. Error message:

Preprocessing library pipes-files-0.1.3...

Pipes/Files.hs:8:14: Unsupported extension: TypeApplications
cabal: Leaving directory '/tmp/cabal-tmp-20/pipes-files-0.1.3'
Installed pipes-bytestring-2.1.6
cabal: Error: some packages failed to install:
argon-0.4.1.0 depends on pipes-files-0.1.3 which failed to install.
pipes-files-0.1.3 failed during the building phase. The exception was:
ExitFailure 1

Installation log: asciicast

SarthakKumar1997 commented 5 years ago

I think this is because 0.1.3 has been released but from a cursory glance I'm unsure what it points to.

I'd suggest, for now, using tags to go to v0.4.1.0, then getting the code and in the cabal file replacing

                 , pipes-files      >=0.1

with

                 , pipes-files      >=0.1    && <0.1.3

FYI: When I tried this it installed pipes-files-0.1.2 for me.