run-tests: add 'instantiate' command
Useful for diffing test derivations.
This commit is contained in:
parent
8cbdef8bf6
commit
7265742655
@ -124,6 +124,10 @@ evalTest() {
|
|||||||
echo # nix eval doesn't print a newline
|
echo # nix eval doesn't print a newline
|
||||||
}
|
}
|
||||||
|
|
||||||
|
instantiate() {
|
||||||
|
nix-instantiate -E "$(vmTestNixExpr)" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
container() {
|
container() {
|
||||||
. "$testDir/lib/make-container.sh" "$@"
|
. "$testDir/lib/make-container.sh" "$@"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user