anchor.diff:            ${hpc-codecov}/bin/hpc-codecov --mix=.hpc --out=coverage/codecov.json coverage/postgrest.tix
   
             # create html and stdout reports
  -          # TODO: The markup command fails when run outside nix-shell (i.e. in CI!)
  -          # Need to fix it properly in the future instead of adding the || true
  -          ${ghc}/bin/hpc markup --destdir=coverage coverage/postgrest.tix || true
  +          ${ghc}/bin/hpc markup --destdir=coverage coverage/postgrest.tix
             echo "file://$(pwd)/coverage/hpc_index.html"
             ${ghc}/bin/hpc report coverage/postgrest.tix "$@"
           fi
  
positive.code:       ''
          env="$(cat ${postgrest.env})"
          export PATH="$env/bin:$PATH"
  
          # clean up previous coverage reports
          mkdir -p coverage
  
negative.code: , curl
  , devCabalOptions
  , ghc
  , glibcLocales
  , gnugrep
  , haskell
  , hpc-codecov
  