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