nix-prefetch-zip is deprecated in favor of nix-prefetch-url.
Fixes https://github.com/NixOS/cabal2nix/issues/263.
commit854695a374862fdfe8a5881767fd17dcd39fa085
authorPeter Simons <simons@cryp.to>
dateTue 28 Feb 2017, 14:36 (10 years ago)
parent08a0c31
src/Distribution/Nixpkgs/Fetch.hs+1−2
@@ -79,8 +79,7 @@ fetch :: forall a. (String -> MaybeT IO a) -- ^ This function is passed the
7979fetch f = runMaybeT . fetchers where
8080 fetchers :: Source -> MaybeT IO (DerivationSource, a)
8181 fetchers source = msum . (fetchLocal source :) $ map (\fetcher -> fetchWith fetcher source >>= process)
82− [ (False, "zip", [])
83− , (False, "url", [])
82+ [ (False, "url", [])
8483 , (True, "git", ["--fetch-submodules"])
8584 , (True, "hg", [])
8685 , (True, "svn", [])