git.iko.soy/typeable/cabal2nix
on master help sign in
Apply hlint recommendations.
066718fKevin Quick
src/Distribution/Nixpkgs/Fetch.hs+2−2
@@ -166,9 +166,9 @@ fetchWith (supportsRev, kind, addArgs) source = do
166 case length ls of
166 case length ls of
167 0 -> return Nothing
167 0 -> return Nothing
168 1 -> return (Just (DerivationSource { derivKind = kind
168 1 -> return (Just (DerivationSource { derivKind = kind
169− , derivUrl = (sourceUrl source)
169+ , derivUrl = sourceUrl source
170 , derivRevision = ""
170 , derivRevision = ""
171− , derivHash = (BS.unpack (head ls))
171+ , derivHash = BS.unpack (head ls)
172 , derivSubmodule = Nothing
172 , derivSubmodule = Nothing
173 }
173 }
174 , sourceUrl source))
174 , sourceUrl source))