A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/commercialhaskell/stack/issues/3380 below:

.cabal file changes reverted · Issue #3380 · commercialhaskell/stack · GitHub

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4