stack-hpc-coveralls icon indicating copy to clipboard operation
stack-hpc-coveralls copied to clipboard

Variable not in scope: checkStatus

Open philipcunningham opened this issue 7 years ago • 6 comments

% stack --version                                                                                                                     1 ↵
Version 1.8.0, Git revision 735240f5b99c343e5d86fa57db0893a3fd05f32a x86_64 hpack-0.28.2

% head stack.yaml 
compiler: ghc-8.2.2
resolver: lts-12.0
packages:
  - .
jobs: 1
extra-deps:
  - Cabal-1.24.2.0
  - acid-state-0.14.3@sha256:45cd613480ce99352f4e3cadd9e00e318b1c67c184924514920194cf08202a65
  - distributed-process-0.7.4@sha256:5c19daef82cd8b82dbe4bc48068351975ece0413b74b829b31277a54deb24d7c
  - fluent-logger-0.2.3.1@sha256:8ff65bbd3a88c55d90baebf345131a1e400b67be0978ad374780ba013091925e

% stack install stack-hpc-coveralls
pureMD5-2.1.3: download
pureMD5-2.1.3: configure
pureMD5-2.1.3: build
pureMD5-2.1.3: copy/register
th-lift-0.7.10: configure   
th-lift-0.7.10: build       
th-lift-0.7.10: copy/register
docopt-0.7.0.5: download    
docopt-0.7.0.5: configure   
docopt-0.7.0.5: build       
docopt-0.7.0.5: copy/register
stack-hpc-coveralls-0.0.4.0: download    
stack-hpc-coveralls-0.0.4.0: configure   
stack-hpc-coveralls-0.0.4.0: build       
Progress 3/4: stack-hpc-coveralls-0.0.4.0

--  While building package stack-hpc-coveralls-0.0.4.0 using:
      /home/filib/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1
    Logs have been written to: /home/filib/Projects/pirate-studios/treehouse-of-horror/.stack-work/logs/stack-hpc-coveralls-0.0.4.0.log

    Configuring stack-hpc-coveralls-0.0.4.0...
    Preprocessing library for stack-hpc-coveralls-0.0.4.0..
    Building library for stack-hpc-coveralls-0.0.4.0..
    [1 of 6] Compiling SHC.Types        ( src/SHC/Types.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/SHC/Types.o )
    [2 of 6] Compiling SHC.Api          ( src/SHC/Api.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/SHC/Api.o )
    
    /tmp/stack7989/stack-hpc-coveralls-0.0.4.0/src/SHC/Api.hs:48:36: error:
        Variable not in scope:
          checkStatus
            :: ASetter Options b a0 (Maybe (p0 -> p1 -> p2 -> Maybe a1))
       |
    48 |           httpOptions = defaults & checkStatus .~ Just noCheck

philipcunningham avatar Dec 05 '18 15:12 philipcunningham

it looks like this is already fixed on master . any chance you create a new release? cheers!

philipcunningham avatar Dec 05 '18 15:12 philipcunningham

@mcfilib The maintainer is now @dnadales, he has the permissions to upload new releases

rubik avatar Dec 25 '18 11:12 rubik

Hi @rubik, it seems I'm not the maintainer of this project :) I think you made me the maitainer of argon only :) I'm not familiar with stack-hpc-coveralls though ...

dnadales avatar Dec 28 '18 11:12 dnadales

@dnadales Dang, my memory tricked me. You are right. At the moment I cannot maintain this project, would you like to step in as a maintainer for this one too?

rubik avatar Dec 31 '18 10:12 rubik

I don't have any familiarity with this code base, and I don't currently use coveralls, so I don't think I can maintain this project at the moment :(

dnadales avatar Jan 02 '19 07:01 dnadales

I was able to make it work by targeting the latest commit in master https://github.com/kutyel/haskell-book/commit/4cb1c62de4655418450d6d9e22ea4667c23547a7 🎉 I hope it helps someone else!

kutyel avatar Jul 10 '19 11:07 kutyel