Skip to content

.cabal file changes reverted #3380

Closed
Closed
@LucasBlommers

Description

@LucasBlommers

Hello,
Today I created a new Yesod application with everything updated and now the .cabal file is reset when i try to run the application.

Steps to reproduce

OS: Ubuntu 16.04 LTS 64-bit

  1. Install latest Stack (1.5.1) (using the official method)
  2. Create a new Yesod app
    2.1 stack new myproject yesod-sqlite && cd myproject
    2.2 stack build yesod-bin cabal-install --install-ghc
    2.3 stack build
  3. Add a new library to the cabal file && save the file (I used the async package)
  4. Import the library in "src/Handler/Home.hs"
  5. Run the app using "stack exec -- yesod devel"
  6. See the error "Could not find module ..."
  7. If you now reload the cabal file you'll see that the changes have been reverted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions