sdiehl / write-you-a-haskell

Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)
MIT License
3.34k stars 256 forks source link

Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3: can't find source for Main in . #101

Open pxc3113 opened 5 years ago

pxc3113 commented 5 years ago

l@DESKTOP-82FI76C:/mnt/c/Users/zhiwei/Documents/write-you-a-haskell$ stack build write-you-a-haskell-0.1.0.0: build (exe) Preprocessing executable 'write-you-a-haskell' for write-you-a-haskell-0.1.0.0... Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3: can't find source for Main in .

-- While building package write-you-a-haskell-0.1.0.0 using: /home/l/.stack/setup-exe-cache/x86_64-linux-nopie/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0 build exe:write-you-a-haskell --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 l@DESKTOP-82FI76C:/mnt/c/Users/zhiwei/Documents/write-you-a-haskell$