[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GHC packages' inputs leak in guix shell
From: |
Lars-Dominik Braun |
Subject: |
Re: GHC packages' inputs leak in guix shell |
Date: |
Tue, 29 Aug 2023 09:12:09 +0200 |
Hi Simon,
> Right? Well, I do not know if it is possible. I guess it is because of
> this file:
>
> --8<---------------cut here---------------start------------->8---
> $ find $(guix build ghc-esqueleto) -type f -print | grep base64
> /gnu/store/zqax59v1v537h26g0kypka6klaaahnqf-ghc-esqueleto-3.5.8.1/lib/ghc-9.2.5/ghc-esqueleto-3.5.8.1.conf.d/base64-bytestring-1.2.1.0-CQYLTs5ShsEFl2lwe4hRrI.conf
> --8<---------------cut here---------------end--------------->8---
>
> Lars, WDYT?
your analysis is correct, but due to the nature of how Haskell builds work
we cannot remove that file (because anything depending on ghc-esqueleto
would not build any more) or relocate it to a different output (because
that would cause a cycle).
I can’t check right now, but I’m guessing a plain `cabal install`
would also add base64-bytestring to GHC’s visible packages?
Cheers,
Lars