1{ stdenv, writeScript, glibc, coreutils, git, openssh
2, nix-tools, cabal-install, nix-prefetch-git
3, bash, curl, findutils, gawk }:
10 repoHTTPS = "https://github.com/input-output-hk/${name}.nix";
11 repoSSH = "git@github.com:input-output-hk/${name}.nix.git";
12 sshKey = "/run/keys/buildkite-${name}-ssh-private";
14 writeScript "update-${name}-nix.sh" ''
19 export PATH="${makeBinPath ([ coreutils curl findutils gawk bash git openssh nix-tools cabal-install nix-prefetch-git ] ++ optional stdenv.isLinux glibc)}"
25 echo "Committing changes..."
28 git commit --message "Automatic update for $(date)"
34 rev=$(git rev-parse HEAD)
38 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