mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
b4b18edeec
- Dev note about nixpkgs pin - More information about selecting a GHC version for cabal projects - A little bit more information about cross compiling, but this is still incomplete.
19 lines
723 B
Markdown
19 lines
723 B
Markdown
# Updating Hackage and Stackage Nix expressions
|
|
|
|
The [`hackage.nix`](https://github.com/input-output-hk/hackage.nix)
|
|
and [`stackage.nix`](https://github.com/input-output-hk/stackage.nix)
|
|
repos and corresponding files `hackage-src.json` and
|
|
`stackage-src.json` will be regularly and automatically updated using
|
|
scripts in this repo.
|
|
|
|
To run the updater scripts manually, use:
|
|
|
|
nix-build build.nix -A maintainer-scripts.update-hackage -o update-hackage.sh
|
|
./update-hackage.sh
|
|
|
|
nix-build build.nix -A maintainer-scripts.update-stackage -o update-stackage.sh
|
|
./update-stackage.sh
|
|
|
|
The scripts will clone the repo, generate the latest data, then
|
|
attempt to push back to the repo and update the source JSON file.
|