You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying out the test repo related to #990, stack build worked fine. But running stack ghci failed with error
Using main module: Package `app' component exe:app with main-is file: /tmp/stack-sandbox-chain-test/app/src/main/haskell/Main.hs
Configuring GHCi with the following packages: app
GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help
<command line>: cannot satisfy -package-id lib1-0.1.0.0-bb7fbef4bc4e8d33cae9ac9155ab5a1a
(use -v for more information)
The text was updated successfully, but these errors were encountered:
I had to change the DB paths to the linux platform rather than osx. But, with a recent development version it works fine for me:
mgsloan@computer:~/oss/vigoo/stack-sandbox-chain-test/lib2$ stack ghci
ansi-wl-pprint-0.6.7.3: configure
ansi-wl-pprint-0.6.7.3: build
ansi-wl-pprint-0.6.7.3: copy/register
lib2-0.3: configure
Configuring lib2-0.3...
lib2-0.3: build
Preprocessing library lib2-0.3...
[1 of 1] Compiling Lib2 ( src/main/haskell/Lib2.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Lib2.o )
In-place registering lib2-0.3...
lib2-0.3: copy/register
Installing library in
/home/mgsloan/oss/vigoo/stack-sandbox-chain-test/lib2/.stack-work/install/x86_64-linux/ghc-7.10.2/7.10.2/lib/x86_64-linux-ghc-7.10.2/lib2-0.3-CiAdjFZI5KEKIQliNN6moy
Registering lib2-0.3...
Completed all 2 actions.
Configuring GHCi with the following packages: lib2
GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help
unknown option: 'c'
[1 of 1] Compiling Lib2 ( /home/mgsloan/oss/vigoo/stack-sandbox-chain-test/lib2/src/main/haskell/Lib2.hs, interpreted )
Ok, modules loaded: Lib2.
*Lib2 Lib2> :q
Leaving GHCi.
mgsloan@computer:~/oss/vigoo/stack-sandbox-chain-test/app$ stack build
Warning: Directory listed in app.cabal file does not exist: src/test/haskell
app-1.0.0.0: configure
Configuring app-1.0.0.0...
Warning: 'hs-source-dirs: src/test/haskell' directory does not exist.
app-1.0.0.0: build
Preprocessing executable 'app' for app-1.0.0.0...
[1 of 1] Compiling Main ( src/main/haskell/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/app/app-tmp/Main.o )
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/app/app ...
Warning: Directory listed in app.cabal file does not exist: src/test/haskell
app-1.0.0.0: copy/register
Installing executable(s) in
/home/mgsloan/oss/vigoo/stack-sandbox-chain-test/app/.stack-work/install/x86_64-linux/ghc-7.10.2/7.10.2/bin
The stack version is 0.1.8.0 and I had also made the db path changes. I tried to reproduce this issue on another machine, but it worked fine there. Unfortunately I don't recall the exact set of steps that were done which produced the issue. I'll close this issue now and if I'm able to reproduce it I'll reopen it. Sorry for the noise :(
While trying out the test repo related to #990,
stack build
worked fine. But runningstack ghci
failed with errorThe text was updated successfully, but these errors were encountered: