Commit 99ee0143 authored by Profpatsch's avatar Profpatsch

build-support/package-tests: always build locally

Tests are generally very lightweight (or at least should be), so it doesn’t make
sense to contact a substituter first.
parent 493bb437
......@@ -20,6 +20,7 @@ let
outputs = drvOutOutputs;
passthru = drvOut.drvAttrs;
preferLocalBuild = true;
allowSubstitutes = false;
# depend on drvDeps (by putting it in builder context)
inherit drvDeps;
......@@ -44,6 +45,7 @@ let
(name: testScript:
runCommand "${}-test-${name}" {
preferLocalBuild = true;
allowSubstitutes = false;
} ''
touch "$out"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment