The Picard group of the moduli stack of stable hyperelliptic curves