2020-05-04 00:01:57 +01:00
|
|
|
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh
|
|
|
|
# and callHackage
|
2022-03-31 17:55:35 +01:00
|
|
|
{ lib, fetchurl }:
|
2020-05-04 00:01:57 +01:00
|
|
|
let
|
|
|
|
pin = builtins.fromJSON (builtins.readFile ./pin.json);
|
|
|
|
in
|
2017-11-06 21:26:05 +00:00
|
|
|
fetchurl {
|
2020-05-04 00:01:57 +01:00
|
|
|
inherit (pin) url sha256;
|
2022-03-31 17:55:35 +01:00
|
|
|
name = "all-cabal-hashes-${lib.substring 0 7 pin.commit}.tar.gz";
|
2020-05-04 00:01:57 +01:00
|
|
|
passthru.updateScript = ../../../../maintainers/scripts/haskell/update-hackage.sh;
|
2017-11-06 19:57:28 +00:00
|
|
|
}
|