haskell: update script for merging haskell-updates PR to upload package versions to Hackage

This commit is contained in:
(cdep)illabout 2021-09-19 10:03:01 +09:00
parent 3389aab889
commit 5ecf510833
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4
2 changed files with 7 additions and 0 deletions

View file

@ -75,6 +75,9 @@ fi
echo "Merging https://github.com/NixOS/nixpkgs/pull/${curr_haskell_updates_pr_num}..."
gh pr merge --repo NixOS/nixpkgs --merge "$curr_haskell_updates_pr_num"
# Update the list of Haskell package versions in NixOS on Hackage.
./maintainers/scripts/haskell/upload-nixos-package-list-to-hackage.sh
# Update stackage, Hackage hashes, and regenerate Haskell package set
echo "Updating Stackage..."
./maintainers/scripts/haskell/update-stackage.sh --do-commit

View file

@ -210,6 +210,10 @@ opening the next one. When you want to merge the currently open
$ gh auth login
```
1. Make sure you have setup your `~/.cabal/config` file for authentication
for uploading the NixOS package versions to Hackage. See the following
section for details on how to do this.
1. Make sure you have correctly marked packages broken. One of the previous
sections explains how to do this.