1{ stdenv, writeScript, coreutils, glibc, git, openssh, nix-tools, cabal-install, nix-prefetch-git }@args:
3import ./update-external.nix args {
6 # Clone or update the main Stackage Nix expressions repo.
7 # The upstream LTS and Nightly package sets are in submodules, which
8 # should also be updated.
9 if [ -d stackage.nix ]; then
12 git submodule update --init
13 git submodule foreach git pull origin master
15 git clone git@github.com:input-output-hk/stackage.nix.git
17 git submodule update --init
18 git submodule foreach git pull origin master
21 echo "Running lts-to-nix for all snapshots..."
23 for lts in {lts-haskell,stackage-nightly}/*.yaml
25 if [[ ! -f $(basename ''${lts%.yaml}.nix) ]]; then
26 lts-to-nix $lts > $(basename ''${lts%.yaml}.nix)
31 echo "{" > nightlies.nix;
32 for a in nightly-*.nix; do echo " \"''${a%%.nix}\" = import ./$a;" >> nightlies.nix; done;
33 echo "}" >> nightlies.nix
36 for a in $(ls lts-*.nix | sort -Vtx -k 1,1); do echo " \"''${a%%.nix}\" = import ./$a;" >> ltss.nix; done;
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