diff --git a/graphula.cabal b/graphula.cabal index be2d762..c609d1a 100644 --- a/graphula.cabal +++ b/graphula.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.37.0. +-- This file has been generated from package.yaml by hpack version 0.38.1. -- -- see: https://github.com/sol/hpack @@ -78,13 +78,14 @@ test-suite readme hs-source-dirs: test ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude -Wno-missing-import-lists -Wno-safe -Wno-unsafe -pgmL markdown-unlit + build-tool-depends: + markdown-unlit:markdown-unlit build-depends: QuickCheck , base <5 , generic-arbitrary , graphula , hspec - , markdown-unlit , monad-logger , persistent , persistent-sqlite diff --git a/package.yaml b/package.yaml index bc4f3b5..50ce2c2 100644 --- a/package.yaml +++ b/package.yaml @@ -67,7 +67,6 @@ tests: - generic-arbitrary - graphula - hspec - - markdown-unlit - monad-logger - persistent - persistent-sqlite @@ -82,6 +81,8 @@ tests: - condition: "flag(persistent-template)" dependencies: - persistent-template + build-tools: + - markdown-unlit flags: persistent-template: diff --git a/src/Graphula/Arbitrary.hs b/src/Graphula/Arbitrary.hs index 878786e..855fca7 100644 --- a/src/Graphula/Arbitrary.hs +++ b/src/Graphula/Arbitrary.hs @@ -1,4 +1,5 @@ -- | 'Arbitrary' operations that respect Graphula's seed +{-# OPTIONS_GHC -Wno-deprecations #-} module Graphula.Arbitrary ( generate ) where diff --git a/stack-nightly.yaml b/stack-nightly.yaml index ba559fb..9ea1c07 100644 --- a/stack-nightly.yaml +++ b/stack-nightly.yaml @@ -1 +1 @@ -resolver: nightly-2023-07-25 +resolver: nightly-2025-09-23 diff --git a/test/README.lhs b/test/README.lhs index fda2924..343be64 100644 --- a/test/README.lhs +++ b/test/README.lhs @@ -45,7 +45,6 @@ import Graphula import Test.Hspec import Test.QuickCheck import Test.QuickCheck.Arbitrary.Generic -import Text.Markdown.Unlit () instance (ToBackendKey SqlBackend a) => Arbitrary (Key a) where arbitrary = toSqlKey <$> arbitrary