helpers/mkSkip
Mark a check as skipped.
For result check derivations,
clears all build inputs,
replaces the build command with a no-op,
and sets passthru.skip = true,
which generators use to report the check as skipped
rather than passed or failed.
For eval checks, sets skip = true;
mkEntries then reports every test as skipped
without forcing its expression.
Type
mkSkip :: (Derivation | EvalCheck) -> (Derivation | EvalCheck)
Arguments
- check
- A result check derivation
produced by
mkResult,mkResultWith, ormkSnapshot, or an eval check produced bymkEval.
Example
mkResult "my-check" "echo hello" |> mkSkip