bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
11 lines
384 B
Nix
11 lines
384 B
Nix
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh
|
|
# and callHackage
|
|
{ lib, fetchurl }:
|
|
let
|
|
pin = builtins.fromJSON (builtins.readFile ./pin.json);
|
|
in
|
|
fetchurl {
|
|
inherit (pin) url sha256;
|
|
name = "all-cabal-hashes-${lib.substring 0 7 pin.commit}.tar.gz";
|
|
passthru.updateScript = ../../../../maintainers/scripts/haskell/update-hackage.sh;
|
|
}
|