Skip to content

Commit

Permalink
Forward compatibility with future versions of GHC + DRY up package.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed May 11, 2023
1 parent 9988b77 commit 3138f41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
14 changes: 5 additions & 9 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ library:
cpp-options: -DWINDOWS

tests:
typed-process-test:
typed-process-test: &typed-process-test
build-tools: hspec-discover
main: Spec.hs
source-dirs: test
ghc-options:
Expand All @@ -38,14 +39,9 @@ tests:
- -with-rtsopts=-N
dependencies:
- base64-bytestring
- hspec
- hspec == 2.*
- temporary
- typed-process
typed-process-test-single-threaded:
main: Spec.hs
source-dirs: test
dependencies:
- base64-bytestring
- hspec
- temporary
- typed-process
<<: *typed-process-test
ghc-options: []
1 change: 1 addition & 0 deletions src/System/Process/Typed/Internal.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE DataKinds #-}
Expand Down

0 comments on commit 3138f41

Please sign in to comment.