diff --git a/demos/demo-context-nested/demo-context-nested.cabal b/demos/demo-context-nested/demo-context-nested.cabal index 9c7db80..1ec8ee2 100644 --- a/demos/demo-context-nested/demo-context-nested.cabal +++ b/demos/demo-context-nested/demo-context-nested.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -10,7 +10,7 @@ license: BSD3 license-file: LICENSE build-type: Simple -executable demo-context-nested-dependencies +executable demo-context-nested main-is: Main.hs other-modules: Paths_demo_context_nested diff --git a/demos/demo-context-nested/package.yaml b/demos/demo-context-nested/package.yaml index 3f10daf..5f37567 100644 --- a/demos/demo-context-nested/package.yaml +++ b/demos/demo-context-nested/package.yaml @@ -27,6 +27,6 @@ ghc-options: - -with-rtsopts=-N executables: - demo-context-nested-dependencies: + demo-context-nested: main: Main.hs source-dirs: app diff --git a/sandwich-site/docs/contexts.md b/sandwich-site/docs/contexts.md index 8dce3d1..eee4827 100644 --- a/sandwich-site/docs/contexts.md +++ b/sandwich-site/docs/contexts.md @@ -159,4 +159,4 @@ introduceServer :: (HasDatabase context, MonadIO m, MonadBaseControl IO m) => SpecFree (LabelValue "server" Server :> context) m () -> SpecFree context m () ``` -The full code for this example can be found [here](https://github.com/codedownio/sandwich/blob/master/demos/demo-context-nested-dependencies/app/Main.hs). +The full code for this example can be found [here](https://github.com/codedownio/sandwich/blob/master/demos/demo-context-nested/app/Main.hs).