git.iko.soy/typeable/stackage2nix
on master help sign in
Remove excessive strictness
f693cd9Dmitry Bushev
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+4−4
@@ -19,10 +19,10 @@ import Stack.Config (StackResolver, unStackResolver)
19
19
20
20
21data OverrideConfig = OverrideConfig
21data OverrideConfig = OverrideConfig
22− { _ocGhc :: !Version
22+ { _ocGhc :: Version
23− , _ocStackagePackages :: !FilePath
23+ , _ocStackagePackages :: FilePath
24− , _ocStackageConfig :: !FilePath
24+ , _ocStackageConfig :: FilePath
25− , _ocNixpkgs :: !FilePath
25+ , _ocNixpkgs :: FilePath
26 }
26 }
27
27
28makeLenses ''OverrideConfig
28makeLenses ''OverrideConfig
src/Stack/Types.hs+2−4
@@ -1,5 +1,3 @@
1−{-# LANGUAGE TemplateHaskell #-}
2−
3module Stack.Types where
1module Stack.Types where
4
2
5import Control.Lens
3import Control.Lens
@@ -8,8 +6,8 @@ import System.FilePath
8
6
9
7
10data StackYaml = StackYaml
8data StackYaml = StackYaml
11− { _syDirName :: !FilePath
9+ { _syDirName :: FilePath
12− , _syFileName :: !FilePath }
10+ , _syFileName :: FilePath }
13 deriving (Ord, Eq, Show)
11 deriving (Ord, Eq, Show)
14
12
15makeLenses ''StackYaml
13makeLenses ''StackYaml