Simon Hampton
2017-10-21 15:13:59 UTC
I had problems doing a standard install from stack (see earlier post) and
found a solution of using a 2016 build from this forum. However, while that
got me a step forward I am now getting the following error
stack build
hakyll-0.1.0.0: configure (exe)
Configuring hakyll-0.1.0.0...
Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: Encountered missing dependencies:
hakyll ==4.9.*
-- While building package hakyll-0.1.0.0 using:
/home/simon/.stack/setup-exe-cache/x86_64-linux-nopie/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nopie/Cabal-1.24.2.0 configure --with-ghc=/home/simon/.stack/programs/x86_64-linux/ghc-nopie-8.0.2/bin/ghc --with-ghc-pkg=/home/simon/.stack/programs/x86_64-linux/ghc-nopie-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/simon/.stack/snapshots/x86_64-linux-nopie/lts-9.9/8.0.2/pkgdb --package-db=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/pkgdb --libdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/lib --bindir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/bin --datadir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/share --libexecdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/libexec --sysconfdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/etc --docdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/doc/hakyll-0.1.0.0 --htmldir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/doc/hakyll-0.1.0.0 --haddockdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/doc/hakyll-0.1.0.0 --dependency=base=base-4.9.1.0 --enable-tests --enable-benchmarks
Process exited with code: ExitFailure 1
Somehow stack exec site watch works though and I can see the site on port
8000 and it was compiled once, but I cannot now get it to recompile the
site when I change anything, and nor can I get it to compile scss
match "scss/app.scss" $ do
route $ constRoute "app.css"
compile compressScssCompiler
where
compressScssCompiler :: Compiler (Item String)
compressScssCompiler = do
fmap (fmap compressCss) $
getResourceString
, "--compass"
, "--style", "compressed"
, "--load-path", "scss"
])
â
found a solution of using a 2016 build from this forum. However, while that
got me a step forward I am now getting the following error
stack build
hakyll-0.1.0.0: configure (exe)
Configuring hakyll-0.1.0.0...
Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: Encountered missing dependencies:
hakyll ==4.9.*
-- While building package hakyll-0.1.0.0 using:
/home/simon/.stack/setup-exe-cache/x86_64-linux-nopie/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nopie/Cabal-1.24.2.0 configure --with-ghc=/home/simon/.stack/programs/x86_64-linux/ghc-nopie-8.0.2/bin/ghc --with-ghc-pkg=/home/simon/.stack/programs/x86_64-linux/ghc-nopie-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/simon/.stack/snapshots/x86_64-linux-nopie/lts-9.9/8.0.2/pkgdb --package-db=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/pkgdb --libdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/lib --bindir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/bin --datadir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/share --libexecdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/libexec --sysconfdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/etc --docdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/doc/hakyll-0.1.0.0 --htmldir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/doc/hakyll-0.1.0.0 --haddockdir=/home/simon/code/sync/HTML/losvast/hakyll/.stack-work/install/x86_64-linux-nopie/lts-9.9/8.0.2/doc/hakyll-0.1.0.0 --dependency=base=base-4.9.1.0 --enable-tests --enable-benchmarks
Process exited with code: ExitFailure 1
Somehow stack exec site watch works though and I can see the site on port
8000 and it was compiled once, but I cannot now get it to recompile the
site when I change anything, and nor can I get it to compile scss
match "scss/app.scss" $ do
route $ constRoute "app.css"
compile compressScssCompiler
where
compressScssCompiler :: Compiler (Item String)
compressScssCompiler = do
fmap (fmap compressCss) $
getResourceString
= withItemBody (unixFilter "sass" [ "-s"
, "--scss", "--compass"
, "--style", "compressed"
, "--load-path", "scss"
])
â
--
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.