You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\dev\lambdacube-ir-test>stack install
lambdacube-ir-0.3.0.0: configure
lambdacube-ir-0.3.0.0: build
-- While building package lambdacube-ir-0.3.0.0 using:
C:\Users\NCrashed\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe --builddir=.stack-work\dist\2672c1f3 build lib:lambdacube-ir --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: C:\dev\lambdacube-ir-test\.stack-work\logs\lambdacube-ir-0.3.0.0.log
Configuring lambdacube-ir-0.3.0.0...
Preprocessing library lambdacube-ir-0.3.0.0...
C:\dev\lambdacube-ir-test\.stack-work\downloaded\49271ab6b07bb73a383c47dda35bb993ee26fd87176abc3e1bdc08c5badc4fc8\lambdacube-ir.haskell\src\LambdaCube\IR.hs:1:1:
File name does not match module name:
Saw: `Main'
Expected: `LambdaCube.IR'
The text was updated successfully, but these errors were encountered:
It builds fine on Linux and OSX.
The problem is that the lambdacube-ir git repository contains symbolic links, that can not handled by Windows. The sym links are not presented in the hackage lambdacube-ir releases though.
Yes, the symlinks are the problem under Windows. There's a slightly inconvenient but working solution though. Start a Git shell as administrator run the following commands:
git config core.symlinks true
git reset --hard HEAD
Afterwards, whenever you want to execute git pull for this repository, you have to do it in an admin shell.
Windows 7 x64, stack, lts-5.6
Demo project: https://github.com/NCrashed/lambdacube-ir-test
The text was updated successfully, but these errors were encountered: