forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-haskell/persistent-sqlite: fix USE=build-sanity-exe, bug #561274
Reported-by: Nick Bowler Bug: https://bugs.gentoo.org/561274 Package-Manager: portage-2.2.20
- Loading branch information
Sergei Trofimovich
committed
Sep 23, 2015
1 parent
7d27888
commit 7b64641
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
dev-haskell/persistent-sqlite/files/persistent-sqlite-2.1.4.2-exe.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/persistent-sqlite.cabal b/persistent-sqlite.cabal | ||
index 39971e7..c0edfe3 100644 | ||
--- a/persistent-sqlite.cabal | ||
+++ b/persistent-sqlite.cabal | ||
@@ -76,2 +76,2 @@ executable sanity | ||
hs-source-dirs: test | ||
- build-depends: base, persistent-sqlite | ||
+ build-depends: base, persistent-sqlite, monad-logger | ||
diff --git a/test/sanity.hs b/test/sanity.hs | ||
index aed09a3..ce61fed 100644 | ||
--- a/test/sanity.hs | ||
+++ b/test/sanity.hs | ||
@@ -3,2 +3,3 @@ | ||
import Database.Persist.Sqlite | ||
+import Control.Monad.Logger | ||
|
||
@@ -7,2 +8,2 @@ $(return []) -- just force TH to run | ||
main :: IO () | ||
-main = withSqliteConn ":memory:" $ const $ return () | ||
+main = runStderrLoggingT $ withSqliteConn ":memory:" $ const $ return () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters