1{ stdenv, cacert, git, curl, lndir, runCommand
2, _cacheVersion ? "0" }:
5 hackage-db = stdenv.mkDerivation {
7 version = _cacheVersion;
8 phases = [ "installPhase" ];
9 buildInputs = [ curl ];
13 curl -o 01-index.tar.gz https://hackage.haskell.org/01-index.tar.gz
14 gunzip --keep 01-index.tar.gz
17 SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
19 all-cabal-hashes = stdenv.mkDerivation rec {
20 name = "all-cabal-hashes";
21 version = _cacheVersion;
22 phases = [ "installPhase" ];
23 buildInputs = [ git ];
26 git clone --bare --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git $out
28 SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
30 stackage-lts = stdenv.mkDerivation {
31 name = "stackage-lts";
32 version = _cacheVersion;
33 phases = [ "installPhase" ];
34 buildInputs = [ git ];
37 git clone --depth 1 https://github.com/fpco/lts-haskell.git $out
39 SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
41 stackage-nightly = stdenv.mkDerivation {
42 name = "stackage-nightly";
43 version = _cacheVersion;
44 phases = [ "installPhase" ];
45 buildInputs = [ git ];
48 git clone --depth 1 https://github.com/fpco/stackage-nightly.git $out
50 SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
52 stackage-all = runCommand "stackage-all"
53 {nativeBuildInputs = [ stackage-nightly stackage-lts lndir ];}
56 for i in ${stackage-nightly} ${stackage-lts}; do
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