diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+1.0.2
+=====
+  = Fix Stackkage build
+
 1.0.1
 =====
   * Support changes in api.
diff --git a/eventsource-stub-store.cabal b/eventsource-stub-store.cabal
--- a/eventsource-stub-store.cabal
+++ b/eventsource-stub-store.cabal
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.15.0.
+-- This file has been generated from package.yaml by hpack version 0.17.1.
 --
 -- see: https://github.com/sol/hpack
 
 name:           eventsource-stub-store
-version:        1.0.1
+version:        1.0.2
 synopsis:       An in-memory stub store implementation.
 description:    An in-memory stub store implementation.
 category:       Eventsourcing
@@ -35,7 +35,7 @@
   build-depends:
       base >=4.9 && <5
     , eventsource-api >=1.1
-    , protolude >=0.1.10 && <0.2
+    , protolude >=0.1.10 && <0.3
     , containers
     , mtl
     , stm
@@ -56,6 +56,8 @@
     , tasty
     , tasty-hspec
     , protolude
+    , aeson
+    , eventsource-api
   other-modules:
       Test.EventSource.Event
       Test.EventSource.Store.Stub
diff --git a/library/EventSource/Store/Stub.hs b/library/EventSource/Store/Stub.hs
--- a/library/EventSource/Store/Stub.hs
+++ b/library/EventSource/Store/Stub.hs
@@ -176,12 +176,12 @@
           return nextNum
 
 
-  readBatch StubStore{..} name (Batch from _) = liftIO $ async $ atomically $ do
+  readBatch StubStore{..} name (Batch start _) = liftIO $ async $ atomically $ do
     streamMap <- readTVar _streams
     case M.lookup name streamMap of
       Nothing -> return $ ReadFailure StreamNotFound
       Just stream -> do
-        let events = S.filter ((>= from) . eventNumber) $ streamEvents stream
+        let events = S.filter ((>= start) . eventNumber) $ streamEvents stream
             slice = Slice { sliceEvents = toList events
                           , sliceEndOfStream = True
                           , sliceNextEventNumber = streamNextNumber stream
diff --git a/package.yaml b/package.yaml
--- a/package.yaml
+++ b/package.yaml
@@ -17,7 +17,7 @@
   dependencies:
   - base >=4.9 && <5
   - eventsource-api >=1.1
-  - protolude >=0.1.10 && <0.2
+  - protolude >=0.1.10 && <0.3
   - containers
   - mtl
   - stm
@@ -37,10 +37,12 @@
     - tasty
     - tasty-hspec
     - protolude
+    - aeson
+    - eventsource-api
     ghc-options:
     - -rtsopts
     - -threaded
     - -with-rtsopts=-N
     main: Main.hs
     source-dirs: test-suite
-version: '1.0.1'
+version: '1.0.2'
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -15,7 +15,8 @@
 # resolver:
 #  name: custom-snapshot
 #  location: "./custom-snapshot.yaml"
-resolver: lts-7.14
+resolver: nightly-2017-08-15
+compiler: ghc-8.2.1
 
 # User packages to be built.
 # Various formats can be used as shown in the example below.
diff --git a/test-suite/Test/EventSource/Event.hs b/test-suite/Test/EventSource/Event.hs
--- a/test-suite/Test/EventSource/Event.hs
+++ b/test-suite/Test/EventSource/Event.hs
@@ -14,9 +14,9 @@
 module Test.EventSource.Event where
 
 --------------------------------------------------------------------------------
-import ClassyPrelude
 import Data.Aeson.Types
 import EventSource
+import Protolude
 
 --------------------------------------------------------------------------------
 newtype TestEvent = TestEvent Int deriving (Eq, Show)
