From 5ecf5108337f2ef55aad3c445140e160ef05b3db Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Sun, 19 Sep 2021 10:03:01 +0900 Subject: [PATCH] haskell: update script for merging `haskell-updates` PR to upload package versions to Hackage --- maintainers/scripts/haskell/merge-and-open-pr.sh | 3 +++ pkgs/development/haskell-modules/HACKING.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/maintainers/scripts/haskell/merge-and-open-pr.sh b/maintainers/scripts/haskell/merge-and-open-pr.sh index d73c09122350..66c336f199c8 100755 --- a/maintainers/scripts/haskell/merge-and-open-pr.sh +++ b/maintainers/scripts/haskell/merge-and-open-pr.sh @@ -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 diff --git a/pkgs/development/haskell-modules/HACKING.md b/pkgs/development/haskell-modules/HACKING.md index 5e996548e495..df15f997203c 100644 --- a/pkgs/development/haskell-modules/HACKING.md +++ b/pkgs/development/haskell-modules/HACKING.md @@ -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.