2#===============================================================================
4# USAGE: ./update-defaults-nix.sh
6# DESCRIPTION: Updates the default.nix files in all source dirs
8# REQUIREMENTS: cabal2nix, bash >= 4
9#===============================================================================
14DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
15BASE_DIR="$( dirname $DIR)"
16SOURCES_TXT="$BASE_DIR/sources.txt"
19readarray -t SOURCES < "$SOURCES_TXT"
21for s in ${SOURCES[@]} ; do
23 (cd "$BASE_DIR/$s" && cabal2nix . > default.nix )
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