5LTS_HASKELL_DIR=${LTS_HASKELL_DIR:-~/lts-haskell}
6ALL_CABAL_HASHES_DIR=${ALL_CABAL_HASHES_DIR:-~/all-cabal-hashes}
8if [ ! -d "$LTS_HASKELL_DIR" ]; then
9 git clone --depth 1 https://github.com/fpco/lts-haskell.git "$LTS_HASKELL_DIR"
12if [ ! -d "$ALL_CABAL_HASHES_DIR" ]; then
13 git clone --depth 1 --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git "$ALL_CABAL_HASHES_DIR"
17stack exec -- stack2nix \
18 --lts-haskell "$LTS_HASKELL_DIR" \
19 --all-cabal-hashes "$ALL_CABAL_HASHES_DIR" \
22nix-build -A stack2nix "$@"
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