summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs')
-rw-r--r--dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs b/dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs
new file mode 100644
index 000000000000..63a6c22bf33c
--- /dev/null
+++ b/dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs
@@ -0,0 +1,8 @@
+import Distribution.Simple
+import System.Process (rawSystem)
+import System.Exit (ExitCode(..))
+import System.FilePath ((</>))
+main = defaultMainWithHooks $ simpleUserHooks { runTests = \args _ _ _ -> do
+ ExitSuccess <- rawSystem "runhaskell" ("-package-conf=dist/package.conf.inplace" : "Test/Runner.hs" : args)
+ return ()
+ }