Set $NIX_PREFETCH_GIT_DEEP_CLONE.

[?]
Jan 25, 2010, 1:26 PM
Z6XUFUCLOXQPPNKXL2SXSJJIOMA6GEDGHMNGPU24AAITTBIYNX4AC

Dependencies

  • [2] RR7O4KFU Set $NIX_PREFETCH_SVN_LEAVE_DOT_SVN to 1.
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [*] VN2SV3G2 Ask `nix-prefetch-git' to leave `.git' in the output.

Change contents

  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 308
    [2.160]
    [5.209]
    # Ask for a "deep clone" to allow "git describe" and similar
    # tools to work. See
    # http://thread.gmane.org/gmane.linux.distributions.nixos/3569
    # for a discussion.
    $ENV{"NIX_PREFETCH_GIT_DEEP_CLONE"} = "1";