GNU bug report logs - #41450
Haskell packages retain references to documentation outputs

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Fri, 22 May 2020 09:17:01 UTC

Severity: normal

To reply to this bug, email your comments to 41450 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41450; Package guix. (Fri, 22 May 2020 09:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 22 May 2020 09:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org 
Subject: Haskell packages retain references to documentation outputs
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




Information forwarded to bug-guix <at> gnu.org:
bug#41450; Package guix. (Fri, 22 May 2020 11:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 41450 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 41450 <at> debbugs.gnu.org
Subject: Re: bug#41450: Acknowledgement (Haskell packages retain references to
 documentation outputs)
Date: Fri, 22 May 2020 13:54:44 +0200
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




Information forwarded to bug-guix <at> gnu.org:
bug#41450; Package guix. (Fri, 22 May 2020 12:07:01 GMT) Full text and rfc822 format available.

Message #11 received at 41450 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 41450 <at> debbugs.gnu.org
Subject: Re: Haskell packages retain references to documentation outputs
Date: Fri, 22 May 2020 14:06:31 +0200
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




This bug report was last modified 3 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.