1# Provides a function for fetching a GitHub repo from a JSON spec,
2# overridable with the given entry on the NIX_PATH.
5 overrideWith = import ./override-with.nix;
7 { name, specJSON, override }:
9 spec = builtins.fromJSON (builtins.readFile specJSON);
12 (builtins.fetchTarball {
14 url = "${spec.url}/archive/${spec.rev}.tar.gz";
15 inherit (spec) sha256;
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