git.iko.soy/typeable/cabal2nix
on master help sign in
update-nixpkgs: generate a prettier commit message
118dfb3Peter Simons
hackage2nix/update-nixpkgs.sh+9−1
@@ -53,6 +53,14 @@ cd nixpkgs
53git pull -q
53git pull -q
54mv ../hackage-packages.nix pkgs/development/haskell-modules/hackage-packages.nix
54mv ../hackage-packages.nix pkgs/development/haskell-modules/hackage-packages.nix
55if [ -n "$(git status --porcelain)" ]; then
55if [ -n "$(git status --porcelain)" ]; then
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+
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
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
57 git push -q
65 git push -q
58fi
66fi