Skip to content

Commit

Permalink
Remove internal library to work around stack bug
Browse files Browse the repository at this point in the history
Using an internal library led to an error with "stack ghci" that also affected by IDE. It seems to be related to this stack issue, but wasn't fixed by running "stack build" first:

commercialhaskell/stack#4148
  • Loading branch information
cimbul committed Dec 30, 2018
1 parent 6896891 commit 8e42727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prolog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ common prolog-common
containers,
base

library prolog-lib
library
import: prolog-common
hs-source-dirs: src
exposed-modules:
Expand All @@ -27,12 +27,12 @@ library prolog-lib
executable prolog
import: prolog-common
main-is: src/Main.hs
build-depends: prolog-lib
build-depends: prolog

test-suite prolog-tests
import: prolog-common
type: exitcode-stdio-1.0
main-is: src/Prolog/Test.hs
build-depends:
prolog-lib,
prolog,
HUnit

0 comments on commit 8e42727

Please sign in to comment.