2021-05-20 23:08:51 +00:00
|
|
|
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh
|
|
|
|
# and callHackage
|
2022-04-15 01:41:22 +00:00
|
|
|
{ lib, fetchurl }:
|
2021-05-20 23:08:51 +00:00
|
|
|
let
|
|
|
|
pin = builtins.fromJSON (builtins.readFile ./pin.json);
|
|
|
|
in
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
inherit (pin) url sha256;
|
2022-04-15 01:41:22 +00:00
|
|
|
name = "all-cabal-hashes-${lib.substring 0 7 pin.commit}.tar.gz";
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.updateScript = ../../../../maintainers/scripts/haskell/update-hackage.sh;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|