94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
11 lines
361 B
Nix
11 lines
361 B
Nix
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh
|
|
# and callHackage
|
|
{ lib, fetchurl }:
|
|
let
|
|
pin = lib.importJSON ./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;
|
|
}
|