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
- Install latest Stack (1.5.1) (using the official method)
- 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
- Add a new library to the cabal file && save the file (I used the async package)
- Import the library in "src/Handler/Home.hs"
- Run the app using "stack exec -- yesod devel"
- See the error "Could not find module ..."
- 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