5rev=$( git ls-remote --heads git://github.com/commercialhaskell/all-cabal-hashes.git hackage \
8url="https://github.com/commercialhaskell/all-cabal-hashes/archive/$rev.tar.gz"
9sha=$( nix-prefetch-url "$url" )
11sed -e "s|url = .*;|url = \"$url\";|" \
12 -e "s|sha256 = .*;|sha256 = \"$sha\";|" \
13 -i nixpkgs/pkgs/data/misc/hackage/default.nix
16Verify that the new snapshot actually works:
18nix-build --no-out-link -E 'with (import ./nixpkgs {}); haskellPackages.callHackage "hsdns" "1.7.1" {}'
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