on deccd00 help sign in
haskell.nix/docs/dev/maintainer-scripts.md
18 lines 723 B history raw
1# Updating Hackage and Stackage Nix expressions
3The [`hackage.nix`](https://github.com/input-output-hk/hackage.nix)
4and [`stackage.nix`](https://github.com/input-output-hk/stackage.nix)
5repos and corresponding files `hackage-src.json` and
6`stackage-src.json` will be regularly and automatically updated using
7scripts in this repo.
9To run the updater scripts manually, use:
11 nix-build build.nix -A maintainer-scripts.update-hackage -o update-hackage.sh
12 ./update-hackage.sh
14 nix-build build.nix -A maintainer-scripts.update-stackage -o update-stackage.sh
15 ./update-stackage.sh
17The scripts will clone the repo, generate the latest data, then
18attempt to push back to the repo and update the source JSON file.