Thanks, good suggestion. I tried that as well. Specifying fay >= 0.18 did give me fay 0.19.0.2, just got other dependency errors, cabal did not even start compiling.
It's getting better, at least I can now compile (on one machine) yesod-fay with fay-0.19.1.2. So now it's just the scaffold that can't find its files apparently.
Sample output for fay >=0.19, after generating the project from scratch, trying to build it, then change the fay dependency to >= 0.19 :
willem@angel:~/dev/spikes/haskell/yesod-fay-test$ cabal install --only-dependencies
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: aeson-0.7.0.2/installed-ea4... (user goal)
trying: yesod-fay-test-0.0.0 (user goal)
trying: fay-0.19.1.2 (dependency of yesod-fay-test-0.0.0)
next goal: haskell-packages (dependency of fay-0.19.1.2)
rejecting: haskell-packages-0.2.3.4, 0.2.3.3 (conflict: aeson =>
mtl==
2.0.1.0/installed-db1..., haskell-packages => mtl>=2.1)
rejecting: haskell-packages-0.2.3.2 (conflict: fay =>
haskell-packages==0.2.3.1 || >0.2.3.2 && <0.3)
rejecting: haskell-packages-0.2.3.1 (conflict:
aeson==
0.7.0.2/installed-ea4..., haskell-packages => aeson==0.6.*)
rejecting: haskell-packages-0.2.3, 0.2.2, 0.2.1, 0.2, 0.1 (conflict: fay =>
haskell-packages==0.2.3.1 || >0.2.3.2 && <0.3)
Backjump limit reached (change with --max-backjumps).
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Maybe I should go through the other dependencies and move them up as well. But where to start? (and on my other machine it mysteriously works...).
deleting the sandbox, recreating it again and running cabal install --enable-tests . yesod-platform yesod-bin --max-backjumps=-1 --reorder-goals && yesod devel
gives:
willem@angel:~/dev/spikes/haskell/yesod-fay-test$ cabal install --enable-tests . yesod-platform yesod-bin --max-backjumps=-1 --reorder-goals && yesod devel
Resolving dependencies...
In order, the following would be installed:
Diff-0.3.0 (new package)
HUnit-1.2.5.2 (new version)
SHA-1.6.4 -decoderinterface (new package)
ansi-terminal-0.6.1.1 (new package)
ansi-wl-pprint-0.6.7.1 (new package)
asn1-types-0.2.3 (new package)
base-unicode-symbols-0.2.2.4 (new package)
base16-bytestring-0.1.1.6 (new package)
base64-bytestring-1.0.0.1 (new package)
byteable-0.1.1 (new package)
byteorder-1.0.4 (new package)
cereal-0.4.0.1 (new package)
crypto-pubkey-types-0.4.2.2 (new package)
cryptohash-0.11.4 (new package)
data-default-class-0.0.1 (new package)
data-default-instances-base-0.0.1 (new package)
data-default-instances-containers-0.0.1 (new package)
data-default-instances-old-locale-0.0.1 (new package)
dlist-0.7.0.1 (new package)
data-default-instances-dlist-0.0.1 (new package)
data-default-0.5.3 (new package)
entropy-0.2.2.4 (new package)
file-embed-0.0.6 (new package)
ghc-paths-0.1.0.9 (new package)
haskell-lexer-1.0 (new package)
hinotify-0.3.6 (new package)
hostname-1.0 (new package)
hspec-expectations-0.5.0.1 (new package)
monad-loops-0.4.2 (new package)
nats-0.1.2 (new package)
network-info-0.2.0.3 (new package)
postgresql-libpq-0.9.0.0 (new package)
pretty-show-1.6.7 (new package)
primitive-0.5.2.1 (new package)
pwstore-fast-2.4.1 (new package)
safe-0.3.4 (new package)
securemem-0.1.3 (new package)
crypto-cipher-types-0.0.9 (new package)
cipher-aes-0.2.7 (new package)
cipher-rc4-0.1.4 (new package)
setenv-0.1.1.1 (new package)
silently-1.2.4.1 (new package)
split-0.2.2 (new package)
stm-2.4.3 (new version)
async-2.0.1.5 (new package)
stm-chans-3.0.0.2 (new package)
stringsearch-0.3.6.5 (new package)
tagged-0.7.1 (new package)
tar-0.4.0.1 (new package)
text-1.0.0.1 (latest: 1.1.0.1) (new version)
blaze-builder-0.3.3.2 (new package)
blaze-markup-0.6.0.0 (new package)
blaze-html-0.7.0.1 (new package)
cookie-0.4.0.1 (new package)
fast-logger-2.1.5 (new package)
hashable-1.2.1.0 (new package)
case-insensitive-1.2.0.0 (new package)
http-types-0.8.4 (new package)
mime-mail-0.4.5.1 (new package)
mime-types-0.1.0.3 (new package)
path-pieces-0.1.3.1 (new package)
polyparse-1.9 (new package)
cpphs-1.18.4 (new package)
haskell-src-exts-1.14.0.1 (new package)
hse-cpp-0.1 (new package)
scientific-0.2.0.2 (new package)
attoparsec-0.11.2.1 (new package)
css-text-0.1.2.1 (new package)
email-validate-2.0.1 (new package)
http-date-0.0.4 (new package)
system-filepath-0.4.10 (new package)
system-fileio-0.3.12 (new package)
fsnotify-0.0.11 (new package)
tagsoup-0.13.1 (new package)
text-stream-decode-0.1.0.5 (new package)
tf-random-0.4 (new package)
QuickCheck-2.7.3 (new version)
quickcheck-io-0.1.0 (latest: 0.1.1) (new package)
transformers-0.3.0.0 (new version)
crypto-api-0.13 (new package)
hspec-1.9.1 (latest: 1.9.2) (new package)
mmorph-1.0.2 (new package)
mtl-2.1.3.1 (new version)
MonadRandom-0.1.13 (new package)
asn1-encoding-0.8.1.3 (new package)
asn1-parse-0.8.1 (new package)
exceptions-0.5 (new package)
optparse-applicative-0.8.0.1 (new package)
parsec-3.1.5 (new version)
network-2.4.2.2 (new version)
pem-0.2.1 (new package)
pureMD5-2.1.2.1 (new package)
regex-base-0.93.2 (reinstall) changes: mtl-2.0.1.0 -> 2.1.3.1
regex-posix-0.95.2 (new version)
language-haskell-extract-0.2.4 (new package)
simple-sendfile-0.2.13 (new package)
skein-1.0.9 (new package)
socks-0.5.4 (new package)
streaming-commons-0.1.0.2 (new package)
transformers-base-0.4.1 (new package)
monad-control-0.3.2.3 (new package)
lifted-base-0.2.2.1 (new package)
resourcet-1.1.0 (latest: 1.1.1) (new package)
transformers-compat-0.1.1.1 (new package)
contravariant-0.4.4 (new package)
distributive-0.4.3.1 (new package)
traverse-with-class-0.1.1.1 (new package)
type-eq-0.4.2 (new package)
unix-compat-0.4.1.1 (new package)
unix-time-0.2.2 (new package)
unordered-containers-0.2.3.3 (new package)
semigroups-0.12.2 (new package)
comonad-4.0.1 (new package)
semigroupoids-4.0.1 (new package)
data-lens-2.10.4 (new package)
data-lens-template-2.1.8 (new package)
either-4.1.1 (new package)
uniplate-1.6.12 (new package)
language-ecmascript-0.15.2 (latest: 0.16.1) (new package)
utf8-light-0.4.2 (new package)
utf8-string-0.3.7 -bytestring-in-base (new package)
language-javascript-0.5.9 (latest: 0.5.12) (new package)
hjsmin-0.1.4.6 (new package)
publicsuffixlist-0.1 (new package)
http-client-0.3.0.2 (new package)
uuid-1.3.3 (new package)
vault-0.3.0.3 (new package)
vector-0.10.9.1 (new package)
aeson-0.7.0.2 +blaze-builder (new package)
blaze-textual-0.2.0.9 (new package)
crypto-random-0.0.7 (new package)
cprng-aes-0.5.2 (new package)
clientsession-0.9.0.3 (new package)
crypto-numbers-0.2.3 (new package)
crypto-pubkey-0.2.4 (new package)
haskell-packages-0.2.3.4 (new package)
haskell-names-0.3.3 (new package)
postgresql-simple-0.4.2.1 (new package)
resource-pool-0.2.1.1 (new package)
sourcemap-0.1.3.0 (new package)
void-0.6.1 (new package)
conduit-1.1.0 (new package)
attoparsec-conduit-1.1.0 (new package)
blaze-builder-conduit-1.1.0 (new package)
conduit-extra-1.1.0 (new package)
cryptohash-conduit-0.1.1 (new package)
monad-logger-0.3.4.1 (new package)
network-conduit-1.1.0 (new package)
persistent-1.3.0.6 (new package)
esqueleto-1.3.9 (new package)
persistent-postgresql-1.3.0.5 (new package)
persistent-template-1.3.1.3 (new package)
project-template-0.1.4.1 (new package)
wai-2.1.0.1 (new package)
wai-logger-2.1.1 (new package)
wai-test-2.0.1.1 (new package)
warp-2.1.3.3 (new package)
word8-0.0.4 (new package)
http-reverse-proxy-0.3.1.4 (latest: 0.3.1.5) (new package)
x509-1.4.11 (new package)
x509-store-1.4.4 (new package)
x509-system-1.4.2 (new package)
x509-validation-1.5.0 (new package)
tls-1.2.6 (new package)
connection-0.2.0 (new package)
http-client-tls-0.2.1.1 (new package)
http-conduit-2.1.0 (new package)
warp-tls-2.0.3.2 (new package)
xml-1.3.13 (new package)
test-framework-0.8.0.3 (new package)
test-framework-hunit-0.3.0.1 (new package)
test-framework-th-0.2.4 (new package)
fay-0.19.1.2 (new package)
xml-types-0.3.4 (new package)
xml-conduit-1.2.0.1 (new package)
tagstream-conduit-0.5.5.1 (new package)
authenticate-1.3.2.8 (new package)
html-conduit-1.1.0.4 (new package)
xss-sanitize-0.3.5.2 (new package)
yaml-0.8.8.1 (new package)
yesod-routes-1.2.0.6 (new package)
zlib-conduit-1.1.0 (new package)
wai-extra-2.1.1.1 (new package)
wai-app-static-2.0.1 (new package)
shakespeare-2.0.0.1 (new package)
hamlet-1.2.0 (new package)
shakespeare-css-1.1.0 (new package)
shakespeare-i18n-1.1.0 (new package)
shakespeare-js-1.3.0 (new package)
shakespeare-text-1.1.0 (new package)
yesod-bin-1.2.8 (new package)
yesod-core-1.2.11 (new package)
yesod-persistent-1.2.2.2 (new package)
yesod-form-1.3.8.1 (new package)
yesod-auth-1.3.0.2 (new package)
yesod-1.2.5.2 (new package)
yesod-static-1.2.2.4 (new package)
yesod-fay-0.5.0.1 (new package)
yesod-test-1.2.1.2 (new package)
yesod-fay-test-0.0.0 *test (new package)
yesod-platform-1.2.9.1 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
regex-posix-0.95.1
regex-compat-0.95.1
Use --force-reinstalls if you want to install anyway.
doing it with --force-reinstalls is then more interesting (only the tail, it is long):
fay-0.19.1.2 depends on language-ecmascript-0.15.2 which failed to install.
haskell-names-0.3.3 depends on type-eq-0.4.2 which failed to install.
type-eq-0.4.2 failed during the configure step. The exception was: