Subject: Haskell packages retain references to documentation outputs

From: Ricardo Wurmus <[email-masked]>
Date: Fri, 22 May 2020 11:15:54 +0200

Haskell packages retain references to “doc” outputs, negating the
effects of splitting packages into different outputs.

Take ghc-scientific as an example.  “guix gc -R” lists these doc outputs:

/gnu/store/lvas21ha80yp02lc3z8fgpcaf59n1jp7-ghc-unordered-containers-bootstrap-0.2.10.0-doc
/gnu/store/22309kdxaapz6z3jm6wfy6bk1yybvxg9-ghc-hashable-bootstrap-1.2.7.0-doc
/gnu/store/s98b5dv0aa13kkg6cv049b5kj005zvk2-ghc-tf-random-0.5-doc
/gnu/store/57g5fv856pj58pk1b3znixbd42cibjbr-ghc-hunit-1.6.0.0-doc
/gnu/store/nxci29djms5bjagp3ivkxz7j7ank5526-ghc-quickcheck-2.13.2-doc
/gnu/store/awi9fz1f4vqqvi4wa14c21dhwvqv4s7l-ghc-random-1.1-doc
/gnu/store/ilraan6hy64781042ph7d7k6krwjz1w1-ghc-hashable-1.2.7.0-doc
/gnu/store/g525nmafk7yz35wn54b59yrslprzcl2q-ghc-primitive-0.6.4.0-doc
/gnu/store/6yx0cw49561iyikkvb37hd0li6hkcg8z-ghc-8.6.5-doc

-- 
Ricardo