git.iko.soy/typeable/cabal2nix
on master help sign in
Cosmetic.
commit81eccfb22583607f2349e3203cdf2c4a9a29f4ac authorPeter Simons <simons@cryp.to> dateMon 13 Jun 2016, 18:17 (10 years ago) parent1778c79
1 file changed+1−1
distribution-nixpkgs/src/Distribution/Nixpkgs/Fetch.hs+1−1
distribution-nixpkgs/src/Distribution/Nixpkgs/Fetch.hs+1−1
@@ -134,7 +134,7 @@ fetchWith (supportsRev, kind, addArgs) source = do
134134 buf' = BS.unlines (reverse ls)
135135 case length ls of
136136 0 -> return Nothing
137− 1 -> return (Just (DerivationSource kind (sourceUrl source) "" (BS.unpack (head (ls))) , sourceUrl source))
137+ 1 -> return (Just (DerivationSource kind (sourceUrl source) "" (BS.unpack (head ls)) , sourceUrl source))
138138 _ -> case eitherDecode buf' of
139139 Left err -> error ("invalid JSON: " ++ err ++ " in " ++ show buf')
140140 Right ds -> return (Just (ds { derivKind = kind }, BS.unpack l))