git.iko.soy/typeable/stackage2nix
on master help sign in
Remove excessive strictness
commitf693cd97d979ccf4f78cc92f1def2d01cf92206d authorDmitry Bushev <bushevdv@gmail.com> dateFri 2 Feb 2018, 21:47 (9 years ago) parente66a94e
2 files changed+6−8
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+4−4 src/Stack/Types.hs+2−4
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+4−4
@@ -19,10 +19,10 @@ import Stack.Config (StackResolver, unStackResolver)
1919
2020
2121data OverrideConfig = OverrideConfig
22− { _ocGhc :: !Version
23− , _ocStackagePackages :: !FilePath
24− , _ocStackageConfig :: !FilePath
25− , _ocNixpkgs :: !FilePath
22+ { _ocGhc :: Version
23+ , _ocStackagePackages :: FilePath
24+ , _ocStackageConfig :: FilePath
25+ , _ocNixpkgs :: FilePath
2626 }
2727
2828makeLenses ''OverrideConfig
src/Stack/Types.hs+2−4
@@ -1,5 +1,3 @@
1−{-# LANGUAGE TemplateHaskell #-}
2−
31module Stack.Types where
42
53import Control.Lens
@@ -8,8 +6,8 @@ import System.FilePath
86
97
108data StackYaml = StackYaml
11− { _syDirName :: !FilePath
12− , _syFileName :: !FilePath }
9+ { _syDirName :: FilePath
10+ , _syFileName :: FilePath }
1311 deriving (Ord, Eq, Show)
1412
1513makeLenses ''StackYaml