Open varosi opened 6 years ago
Related #932
Ok, all the additional failures seem to be related to cabal-helper-wrapper
exiting with exit code=1. Does the executable actually exist at the path referenced in the output? Could you try running it by hand and seeing if it returns something sane?
For example, in a directory with a cabal project, after running cabal configure
, the following should return the package name and version:
$ path/to/cabal-helper-wrapper . dist package-id
[Just (ChResponseVersion "cabal-helper" (Version {versionBranch = [0,8,0,2], versionTags = []}))]
The ".
" refers to the cabal project directory and the "dist
" is the path to the dist-dir. You can give absolute paths there instead of cd
ing into the project directory first if you like.
hm, strange. I'm using Stack to build it and it cannot be found:
D:\Projects\Hackage\ghc-mod>stack build cabal-helper --copy-compiler-tool --stack-yaml stack82.yaml Warning (added by new or init): Some packages were found to be incompatible with the resolver and have been left commented out in the packages section. You can omit this message by removing it from stack.yaml
cabal-helper-0.8.0.2: configure cabal-helper-0.8.0.2: build cabal-helper-0.8.0.2: copy/register Couldn't find executable cabal-helper-wrapper in directory D:\Projects\Hackage\ghc-mod.stack-work\install\9d660cc9\bin\
Related #900