Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
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;
|
|
}
|