1{ stdenv, writeScript }:
5writeScript "check-materialization-concurrency.sh" ''
12 # We expect to see both the hello and world derivations to start building
13 # before either of them finish.
14 echo EVENT start hello > $WORK/expected.txt
15 echo EVENT start world >> $WORK/expected.txt
16 echo EVENT end hello >> $WORK/expected.txt
17 echo EVENT end world >> $WORK/expected.txt
19 nix-build -j2 scripts/check-materialization-concurrency --arg n "\"$(date)\"" 2>&1 | grep '^EVENT' > $WORK/actual.txt
21 diff -u $WORK/expected.txt $WORK/actual.txt
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