git.iko.soy/typeable/cabal2nix
on master help sign in
hackage2nix: Use Control.DeepSeq, not Control.DeepSeq.Generics
commit2b0c22740411d5a90867c5a21abb371287aa9f3d authorMichael Alan Dorman <mdorman@ironicdesign.com> dateSat 28 May 2016, 16:02 (10 years ago) parent0b92a5e
3 files changed+6−6
hackage2nix/hackage2nix.cabal+1−1 hackage2nix/package.yaml+1−1 hackage2nix/src/Stackage.hs+4−4
hackage2nix/hackage2nix.cabal+1−1
@@ -30,7 +30,7 @@ executable hackage2nix
3030 , bytestring
3131 , Cabal >= 1.22.2
3232 , containers
33− , deepseq-generics
33+ , deepseq >= 1.4
3434 , directory
3535 , distribution-nixpkgs
3636 , filepath
hackage2nix/package.yaml+1−1
@@ -15,7 +15,7 @@ dependencies:
1515 - bytestring
1616 - Cabal >= 1.22.2
1717 - containers
18− - deepseq-generics
18+ - deepseq >= 1.4
1919 - directory
2020 - distribution-nixpkgs
2121 - filepath
hackage2nix/src/Stackage.hs+4−4
@@ -4,7 +4,7 @@
44
55module Stackage where
66
7−import Control.DeepSeq.Generics
7+import Control.DeepSeq
88import Control.Exception ( assert )
99import Control.Monad
1010import Control.Monad.Par.Combinator
@@ -50,9 +50,9 @@ data Snapshot = Snapshot
5050 deriving (Show, Generic)
5151
5252deriving instance Generic SnapshotType
53−instance NFData Spec where
54−instance NFData Snapshot where
55−instance NFData SnapshotType where
53+instance NFData Spec
54+instance NFData Snapshot
55+instance NFData SnapshotType
5656
5757instance Pretty SnapshotType where
5858 pPrint STNightly = text "stackage-nightly"