add luite's mirror to cabal/hackage download expression (for when hackage.haskell.org is down)
This commit is contained in:
parent
918b26a59e
commit
e89aea5e42
@ -44,7 +44,9 @@
|
|||||||
# the default download location for Cabal packages is Hackage,
|
# the default download location for Cabal packages is Hackage,
|
||||||
# you still have to specify the checksum
|
# you still have to specify the checksum
|
||||||
src = fetchurl {
|
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;
|
inherit (self) sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user