tests: extract fn instantiateTestsFromStr
Fn `instantiateTests` now takes an array of strings. It is used in the following commit.
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ buildTests() {
|
||||
# TODO-EXTERNAL:
|
||||
# Simplify and switch to pure build when `nix build` can instantiate flake function outputs
|
||||
# shellcheck disable=SC2207
|
||||
drvs=($(nixInstantiate "pkgs.instantiateTests \"${tests[*]}\""))
|
||||
drvs=($(nixInstantiate "pkgs.instantiateTestsFromStr \"${tests[*]}\""))
|
||||
for i in "${!tests[@]}"; do
|
||||
testName=${tests[$i]}
|
||||
drv=${drvs[$i]}
|
||||
|
||||
Reference in New Issue
Block a user