@@ -45,7 +45,7 @@ hashPackage pkg = do
4545 where getHackageHash = do
4646 let command = "exec nix-prefetch-url 2>/dev/tty " ++ hackagePath pkg TarGz
4747 handle handlePrefetchError (readProcess "bash" ["-c", command] "")
48− handlePrefetchError (SomeException _) = do
48+ handlePrefetchError (SomeException _) =
4949 error $ "\nError: Cannot compute hash. (Not a hackage project?)\n" ++
5050 "Specify hash explicitly via --sha256 and add appropriate \"src\" attribute " ++
5151 "to resulting nix expression."