1{ runCommand, cabal-install
2, indexState ? "2019-04-24T21:34:04Z"
5 # To avoid downloading more data than necessary this will provide a base.
6 cachedState = runCommand "hackage-${builtins.substring 0 4 indexState}" {} ''
8 HOME=$out ${cabal-install}/bin/cabal update --index-state='${builtins.substring 0 4 indexState}-01-01T00:00:00Z'
10in runCommand "hackage-${builtins.replaceStrings [":"] [""] indexState}" {} ''
12 cp -r ${cachedState}/.cabal $out
13 chmod +w -R $out/.cabal
14 sed -i.back -e "s|${cachedState}|$out|g" $out/.cabal/config
15 HOME=$out ${cabal-install}/bin/cabal update --index-state='${indexState}'
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