I need pkg-config-dependencies. But since stack 1.6.5 includes hpack 0.20.0, I installed hpack from stackage and tried to use it when building. This is the message that showed up. I think the option is passed too further.
-------- command output --------------------- PS C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory> stack build introductory-examples.cabal is up-to-date introductory-examples-0.1.0.0: configure (exe) unrecognized 'configure' option `--with-hpack=C:\Users\zmtemp\AppData\Roaming\local\bin\hpack.exe' -- While building custom Setup.hs for package introductory-examples-0.1.0.0 using: C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.2.0.0_ghc-8.4.1.exe --builddir=.stack-work\dist\22b940d3 configure --with-ghc=C:\Users\zmtemp\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.1\bin\ghc.EXE --with-ghc-pkg=C:\Users\zmtemp\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.1\bin\ghc-pkg.EXE --user --package-db=clear --package-db=global --package-db=C:\sr\snapshots\52be8bfd\pkgdb --package-db=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\pkgdb --libdir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\lib --bindir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\bin --datadir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\share --libexecdir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\libexec --sysconfdir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\etc --docdir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\doc\introductory-examples-0.1.0.0 --htmldir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\doc\introductory-examples-0.1.0.0 --haddockdir=C:\Users\zmtemp\Desktop\haskell\gtk\haskell-gi\examples\introductory\.stack-work\install\99808b8a\doc\introductory-examples-0.1.0.0 --dependency=base=base-4.11.0.0 --dependency=filepath=filepath-1.4.2 --dependency=gi-cairo=gi-cairo-1.0.15-4rXVNqEkmZLJboBOqnZnqC --dependency=gi-gdk=gi-gdk-3.0.15-44HrmMNuiAg3TWfz5PbCtI --dependency=gi-gdkpixbuf=gi-gdkpixbuf-2.0.15-IM8H3z4wqR6CdKtgNPAgo8 --dependency=gi-gio=gi-gio-2.0.18-BCBZU40mn1AJdvQMVHmLxB --dependency=gi-gtk=gi-gtk-3.0.22-KzOfePMJsrrUrYngNAJUd --dependency=haskell-gi-base=haskell-gi-base-0.21.0-8DGRLECDHimDe69xbJU1Ut --dependency=text=text-1.2.3.0 --extra-include-dirs=C:\Users\zmtemp\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\include --extra-lib-dirs=C:\Users\zmtemp\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\bin --extra-lib-dirs=C:\Users\zmtemp\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\lib --with-hpack=C:\Users\zmtemp\AppData\Roaming\local\bin\hpack.exe --enable-tests --enable-benchmarks Process exited with code: ExitFailure 1 -------- end command output --------------------- I tried config.yaml, stack.yaml and command line option to no avail. Is there any other way to achieve this? Thank in advance. -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscr...@googlegroups.com. To post to this group, send email to haskell-stack@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/094118ac-f1b5-4148-abe2-2d96de0f4f13%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.