1{ stdenv, writeScript, glibc, coreutils, git, openssh
2, nix-tools, cabal-install, nix-prefetch-git }:
9 repoHTTPS = "https://github.com/input-output-hk/${name}.nix";
10 repoSSH = "git@github.com:input-output-hk/${name}.nix.git";
11 sshKey = "/run/keys/buildkite-${name}-ssh-private";
13 writeScript "update-${name}-nix.sh" ''
18 export PATH="${makeBinPath [ coreutils glibc git openssh nix-tools cabal-install nix-prefetch-git ]}"
24 echo "Committing changes..."
27 git commit --message "Automatic update for $(date)"
33 rev=$(git rev-parse HEAD)
37 nix-prefetch-git ${repoHTTPS} --rev "$rev" | tee ${name}-src.json
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