Archived
1
0
forked from rarias/bscpkgs

Introduce the runexp stage

This commit is contained in:
2020-10-13 13:00:59 +02:00
parent d0a259f15d
commit a38ff31cca
7 changed files with 82 additions and 26 deletions

View File

@@ -14,13 +14,16 @@ let
in
rec {
/* Takes a list of units and builds an experiment, after executing the
trebuchet and the isolate stages. Returns the trebuchet stage. */
trebuchet, runexp and isolate stages. Returns the trebuchet stage. */
buildTrebuchet = units: stages.trebuchet {
inherit (machineConf) nixPrefix;
nextStage = stages.isolate {
nextStage = stages.runexp {
inherit (machineConf) nixPrefix;
nextStage = stages.experiment {
inherit units;
nextStage = stages.isolate {
inherit (machineConf) nixPrefix;
nextStage = stages.experiment {
inherit units;
};
};
};
};