git.iko.soy/typeable/cabal2nix
on master help sign in
fetchWith: remove debug output
commit813d4294fe47c0a7eeb655710b4f7d87a610d235 authorPeter Simons <simons@cryp.to> dateSat 16 Aug 2014, 17:20 (12 years ago) parent7d8217c
1 file changed−2
src/Distribution/NixOS/Fetch.hs−2
src/Distribution/NixOS/Fetch.hs−2
@@ -70,8 +70,6 @@ fetch f = runMaybeT . fetchers where
7070-- | Like 'fetch', but allows to specify which script to use.
7171fetchWith :: (Bool, String) -> Source -> MaybeT IO (DerivationSource, FilePath)
7272fetchWith (supportsRev, kind) source = do
73− liftIO $ hPutStrLn stderr $ "* trying fetcher: " ++ kind
74−
7573 unless ((sourceRevision source /= "") || isNothing (sourceHash source) || not supportsRev) $
7674 liftIO (hPutStrLn stderr "** need a revision for VCS when the hash is given. skipping.") >> mzero
7775