unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41450: Haskell packages retain references to documentation outputs
@ 2020-05-22  9:15 Ricardo Wurmus
       [not found] ` <handler.41450.B.159013896922286.ack@debbugs.gnu.org>
  2020-05-22 12:06 ` bug#41450: Haskell packages retain references to documentation outputs Ricardo Wurmus
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-22  9:15 UTC (permalink / raw)
  To: 41450

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41450: Acknowledgement (Haskell packages retain references to documentation outputs)
       [not found] ` <handler.41450.B.159013896922286.ack@debbugs.gnu.org>
@ 2020-05-22 11:54   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-22 11:54 UTC (permalink / raw)
  To: 41450


The references are likely due to the “haddock-interfaces” and
“haddock-html” fields in the generated “.conf” files.  These .conf files
belong to the “lib” directory (so either the “out” output or “lib”
output) and refer to the “doc” output.

“haddock-html” appears to be optional, but “haddock-interfaces” might be
mandatory.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41450: Haskell packages retain references to documentation outputs
  2020-05-22  9:15 bug#41450: Haskell packages retain references to documentation outputs Ricardo Wurmus
       [not found] ` <handler.41450.B.159013896922286.ack@debbugs.gnu.org>
@ 2020-05-22 12:06 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-22 12:06 UTC (permalink / raw)
  To: 41450

Nixpkgs has the same problem:

    https://github.com/NixOS/nixpkgs/issues/87267

Some of the discussion is only available in *video* format, so I’m
watching that now to see if it contains any valuable insights.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-22 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22  9:15 bug#41450: Haskell packages retain references to documentation outputs Ricardo Wurmus
     [not found] ` <handler.41450.B.159013896922286.ack@debbugs.gnu.org>
2020-05-22 11:54   ` bug#41450: Acknowledgement (Haskell packages retain references to documentation outputs) Ricardo Wurmus
2020-05-22 12:06 ` bug#41450: Haskell packages retain references to documentation outputs Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).