run-tests: add 'instantiate' command
Useful for diffing test derivations.
This commit is contained in:
@@ -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" "$@"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user