-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I have tried to build fpm on Windows/Cygwin and got an error message. The output to screen was:
$ stack build
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-8.6.5.
Already downloaded.
Already downloaded.
Decompressing ghc-8.6.5.tar.xz...
7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: C:\Users\markus\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5.tar.xz
Extracting ghc-8.6.5.tar
Everything is Ok
Size: 1773445120
Compressed: 280280296
Extracting ghc-8.6.5.tar...
Extracted total of 9780 files from ghc-8.6.5.tar
GHC installed to C:\Users\markus\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5
Cloning 536a5e6ffb148d0dd4e4c4b120913a6744097676 from https://github.com/kowainik/tomland.git
Received ExitFailure 1 when running
Raw command: "C:\cygwin\bin\git.EXE" submodule update --init --recursive
Run from: C:\cygwin\tmp\with-repo1848\cloned
Standard error:
/usr/libexec/git-core/git-sh-setup: line 344: pwd: -W: invalid option
pwd: usage: pwd [-LP]
Unable to determine absolute path of git directory
Apparently, an option -W to the "pwd" command is being used that does not exist in the Cygwin version of "pwd".
How to proceed?