Skip to content

yesod devel fails for stack-built and installed yesod-bin / yesod project #1125

@bitemyapp

Description

@bitemyapp
$ stack install yesod-bin
Run from outside a project, using implicit global config
Using resolver: lts-3.1 from global config file: /home/callen/.stack/global/stack.yaml
Copying from /home/callen/.stack/snapshots/x86_64-linux/lts-3.1/7.10.2/bin/yesod to /home/callen/.local/bin/yesod
Copying from /home/callen/.stack/snapshots/x86_64-linux/lts-3.1/7.10.2/bin/yesod-ar-wrapper to /home/callen/.local/bin/yesod-ar-wrapper
Copying from /home/callen/.stack/snapshots/x86_64-linux/lts-3.1/7.10.2/bin/yesod-ghc-wrapper to /home/callen/.local/bin/yesod-ghc-wrapper
Copying from /home/callen/.stack/snapshots/x86_64-linux/lts-3.1/7.10.2/bin/yesod-ld-wrapper to /home/callen/.local/bin/yesod-ld-wrapper

Copied executables to /home/callen/.local/bin:
- yesod-ld-wrapper
- yesod-ghc-wrapper
- yesod-ar-wrapper
- yesod
$ stack exec -- yesod devel 
Yesod devel server. Type 'quit' to quit
Application can be accessed at:

http://127.0.0.1:3000
https://127.0.0.1:3443
If you wish to test https capabilities, you should set the following variable:
  export APPROOT=https://127.0.0.1:3443

Warning: The package list for 'hackage.haskell.org' is 50.1 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Configuring open-cis194-0.0.0...
ERROR: Yesod has been compiled with a different GHC version, please reinstall yesod-bin
yesod: ExitFailure 1
^C

Same resolver for both. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions