Keyboard shortcuts

Press ? to show this help

Press Esc to hide this help

Contest Options Reference

This page is generated from Hull’s contest Nix module options during the documentation build.

displayName

Display contest title for each language.

Type: attribute set of string

Default:

{ }

Example:

{
  en = "example contest";
  zh = "示例比赛";
}

name

The unique name of the contest.

Type: string matching the pattern [a-zA-Z_][a-zA-Z0-9_\-]*

Example:

"exampleProblem"

problems

Problems of the contest.

Type: list of anything

Default:

[ ]

targetOutputs

The final derivation outputs for each defined target.

Type: attribute set of package (read only)

Default:

builtins.mapAttrs (targetName: target: target config) config.targets

targets

An attribute set of build targets for the contest, defining final package structures.

Type: attribute set of hullContestTarget

Default:

{ }