Earlier today I was trying to run `stack test` in one of my projects and I kept getting this error:
hangman-0.1.0.0: build (exe + test)
Preprocessing executable 'hangman' for hangman-0.1.0.0...
Preprocessing test suite 'tests' for hangman-0.1.0.0...
<command line>: cannot satisfy -package-id hangman-0.1.0.0-3msiFXAP8SrGLvb69w1t6p
(use -v for more information)
Progress: 11/12
-- While building package hangman-0.1.0.0 using:
/Users/g/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build exe:hangman test:tests --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
`stack build` was working fine:
hangman-0.1.0.0: configure (exe)
Configuring hangman-0.1.0.0...
hangman-0.1.0.0: build (exe)
Preprocessing executable 'hangman' for hangman-0.1.0.0...
[1 of 1] Compiling Main ( src/Main.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/hangman/hangman-tmp/Main.o )
Linking .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/hangman/hangman ...
hangman-0.1.0.0: copy/register
Installing executable(s) in
/Users/g/0/haskell/haskell-sandbox/haskellbook/hangman-ch13.hb/.stack-work/install/x86_64-osx/lts-8.0/8.0.2/bin
What does that `3msiFXAP8SrGLvb69w1t6p` mean at the end of the package?
Cheers,
Galder