7 local lc="$BASH_COMMAND" rc=$?
8 test $rc -eq 0 || echo "*** error $rc: $lc"
14cabal2nix=$(git describe --dirty)
20export NIX_PATH=nixpkgs=$PWD
25rm -f preferred-versions
26for n in */preferred-versions; do
27 cat >>preferred-versions "$n"
28 echo >>preferred-versions
30hackage=$(git rev-parse --verify HEAD)
33# This command needs a recent development version of cabal-install. I don't
34# think this works properly in version 2.0.0.0 already.
35cabal -v0 new-run hackage2nix -- --nixpkgs="$PWD/nixpkgs" +RTS -M4G -RTS
38git add pkgs/development/haskell-modules
39if [ -n "$(git status --porcelain)" ]; then
40 cat <<EOF | git commit -n -q -F -
41hackage-packages.nix: automatic Haskell package set update
43This update was generated by hackage2nix $cabal2nix from Hackage revision
44https://github.com/commercialhaskell/all-cabal-hashes/commit/$hackage.
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list