Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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, or mkSnapshot, or an eval check produced by mkEval.

Example

mkResult "my-check" "echo hello" |> mkSkip