cabal-builder: Use hackage mirror
It's now possible to use the mirror system for the cabal builder.
This commit is contained in:
parent
9b7dbcc83e
commit
c052d7297b
@ -82,9 +82,7 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
|
||||
# the default download location for Cabal packages is Hackage,
|
||||
# you still have to specify the checksum
|
||||
src = fetchurl {
|
||||
# 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"];
|
||||
url = "mirror://hackage/${self.pname}/${self.fname}.tar.gz";
|
||||
inherit (self) sha256;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user