f3f84855e8
Introduces a script that can be used to update the Nix expressions for the Haskell package set. In service of that, also - introduces cabal2nix-latest, which pins the hackage2nix version used - changes all-cabal-hashes to use fetchFromGitHub - adds update-hackage.sh & update-cabal2nix-latest.sh & update-stackage.sh maintainer scripts
11 lines
311 B
Nix
11 lines
311 B
Nix
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh
|
|
# and callHackage
|
|
{ fetchurl }:
|
|
let
|
|
pin = builtins.fromJSON (builtins.readFile ./pin.json);
|
|
in
|
|
fetchurl {
|
|
inherit (pin) url sha256;
|
|
passthru.updateScript = ../../../../maintainers/scripts/haskell/update-hackage.sh;
|
|
}
|