git.iko.soy/typeable/cabal2nix
on master help sign in
update-nixpkgs: generate a prettier commit message
commit118dfb302882a922f6ebef29db7679bc5215f5ca authorPeter Simons <simons@cryp.to> dateMon 14 Sep 2015, 17:07 (11 years ago) parenta463c89
1 file changed+9−1
hackage2nix/update-nixpkgs.sh+9−1
hackage2nix/update-nixpkgs.sh+9−1
@@ -53,6 +53,14 @@ cd nixpkgs
5353git pull -q
5454mv ../hackage-packages.nix pkgs/development/haskell-modules/hackage-packages.nix
5555if [ -n "$(git status --porcelain)" ]; then
56− git commit -q -m "hackage-packages.nix: update to https://github.com/commercialhaskell/all-cabal-hashes/commit/$hackage with hackage2nix $cabal2nix" -- pkgs/development/haskell-modules/hackage-packages.nix
56+ cat <<EOF | git commit -q -F - -- pkgs/development/haskell-modules/hackage-packages.nix
57+hackage-packages.nix: update Haskell package set
58+
59+This update was generated by hackage2nix $cabal2nix using the following inputs:
60+
61+ - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/$hackage
62+ - LTS Haskell: https://github.com/fpco/lts-haskell/commit/$ltshaskell
63+ - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/$stackagenightly
64+EOF
5765 git push -q
5866fi