hydra-module.nix: Fix setting the logo

[?]
Nov 6, 2013, 4:27 PM
PMDWFZHWNNA764E7A4TAMX7TN2SFPGWQXWPUETAYTFU6UJEOCYDAC

Dependencies

  • [2] ALLSLBFX Whoops
  • [3] 7XOH2DGH hydra-module.nix: Give types to options
  • [4] 25DXUDOJ hydra-module.nix: Remove the useWAL option
  • [5] BT6SNXUA Add an option to run the hydra server in debug mode
  • [6] D3MDJONY
  • [7] ZYEFL36Q Ported/merged properties from the TUD configuration's hydra-module
  • [8] ZVGQP2SX hydra-module: Add a `logo' option.
  • [*] 4J33F22T hydra-module.nix: Make it possible to add extra config lines

Change contents

  • replacement in hydra-module.nix at line 22
    [4.298][4.298:395]()
    { HYDRA_LOGO = if cfg.logo != null then cfg.logo else "";
    HYDRA_TRACKER = cfg.tracker;
    [4.298]
    [2.0]
    { HYDRA_TRACKER = cfg.tracker;
  • edit in hydra-module.nix at line 29
    [4.537]
    [4.537]
  • replacement in hydra-module.nix at line 112
    [4.247][3.538:577]()
    type = types.nullOr types.str;
    [4.247]
    [4.247]
    type = types.nullOr types.path;
  • edit in hydra-module.nix at line 138
    [4.2592]
    [10.190]
  • edit in hydra-module.nix at line 145
    [10.373]
    [10.373]
    ${optionalString (cfg.logo != null) ''
    hydra_logo ${cfg.logo}
    ''}