1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

add luite's mirror to cabal/hackage download expression (for when hackage.haskell.org is down)

This commit is contained in:
Aristid Breitkreuz 2012-12-15 23:34:49 +01:00
parent 918b26a59e
commit e89aea5e42

View file

@ -44,7 +44,9 @@
# the default download location for Cabal packages is Hackage,
# you still have to specify the checksum
src = fetchurl {
url = "http://hackage.haskell.org/packages/archive/${self.pname}/${self.version}/${self.fname}.tar.gz";
# cannot use mirrors system because of subtly different directory structures
urls = ["http://hackage.haskell.org/packages/archive/${self.pname}/${self.version}/${self.fname}.tar.gz"
"http://hdiff.luite.com/packages/archive/${self.pname}/${self.fname}.tar.gz"];
inherit (self) sha256;
};