Skip to content

Commit 971f04a

Browse files
authored
Merge pull request #68 from sol/dev
Forward compatibility with future versions of GHC + DRY up package.yaml
2 parents 9988b77 + 3138f41 commit 971f04a

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

package.yaml

+5-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ library:
2929
cpp-options: -DWINDOWS
3030

3131
tests:
32-
typed-process-test:
32+
typed-process-test: &typed-process-test
33+
build-tools: hspec-discover
3334
main: Spec.hs
3435
source-dirs: test
3536
ghc-options:
@@ -38,14 +39,9 @@ tests:
3839
- -with-rtsopts=-N
3940
dependencies:
4041
- base64-bytestring
41-
- hspec
42+
- hspec == 2.*
4243
- temporary
4344
- typed-process
4445
typed-process-test-single-threaded:
45-
main: Spec.hs
46-
source-dirs: test
47-
dependencies:
48-
- base64-bytestring
49-
- hspec
50-
- temporary
51-
- typed-process
46+
<<: *typed-process-test
47+
ghc-options: []

src/System/Process/Typed/Internal.hs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{-# LANGUAGE CPP #-}
22
{-# LANGUAGE TypeFamilies #-}
3+
{-# LANGUAGE TypeOperators #-}
34
{-# LANGUAGE DeriveDataTypeable #-}
45
{-# LANGUAGE RecordWildCards #-}
56
{-# LANGUAGE DataKinds #-}

0 commit comments

Comments
 (0)