David Brown
2018-05-04 15:11:14 UTC
I just tried following the Hakyll tutorial, and am getting a build failure
about dependencies:
% hakyll-init davidborg
% cd davidborg
% stack init
...
% stack build
...
-- While building custom Setup.hs for package wai-app-static-3.1.6.2 using:
/home/davidb/.stack/setup-exe-cache/x86_64-linux-ncurses6-nopie/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-ncurses6-nopie/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/davidb/davidborg/davidborg/.stack-work/logs/wai-app-static-3.1.6.2.log
Configuring wai-app-static-3.1.6.2...
Preprocessing library for wai-app-static-3.1.6.2..
Building library for wai-app-static-3.1.6.2..
<command line>: cannot satisfy -package-id optparse-applicative-0.14.2.0-7h0T7ONTR6AFGPMJCLb5iD:
optparse-applicative-0.14.2.0-7h0T7ONTR6AFGPMJCLb5iD is unusable due to shadowed dependencies:
ansi-wl-pprint-0.6.8.2-AFBJQxTmzbt6P0JlYhXs8j
(use -v for more information)
Iâm not quite sure where to start looking at this, and am even a little
surprised, since much of the point of stackage lts is that the dependencies
work with each other.
Any ideas?
â
about dependencies:
% hakyll-init davidborg
% cd davidborg
% stack init
...
% stack build
...
-- While building custom Setup.hs for package wai-app-static-3.1.6.2 using:
/home/davidb/.stack/setup-exe-cache/x86_64-linux-ncurses6-nopie/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-ncurses6-nopie/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/davidb/davidborg/davidborg/.stack-work/logs/wai-app-static-3.1.6.2.log
Configuring wai-app-static-3.1.6.2...
Preprocessing library for wai-app-static-3.1.6.2..
Building library for wai-app-static-3.1.6.2..
<command line>: cannot satisfy -package-id optparse-applicative-0.14.2.0-7h0T7ONTR6AFGPMJCLb5iD:
optparse-applicative-0.14.2.0-7h0T7ONTR6AFGPMJCLb5iD is unusable due to shadowed dependencies:
ansi-wl-pprint-0.6.8.2-AFBJQxTmzbt6P0JlYhXs8j
(use -v for more information)
Iâm not quite sure where to start looking at this, and am even a little
surprised, since much of the point of stackage lts is that the dependencies
work with each other.
Any ideas?
â
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.