From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42708) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiPqV-0002qS-Q7 for guix-patches@gnu.org; Fri, 20 Dec 2019 16:30:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiPqU-0007W0-Hc for guix-patches@gnu.org; Fri, 20 Dec 2019 16:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiPqU-0007TQ-9O for guix-patches@gnu.org; Fri, 20 Dec 2019 16:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iiPqU-0000bI-14 for guix-patches@gnu.org; Fri, 20 Dec 2019 16:30:02 -0500 Subject: [bug#38593] Remove invalid library directories from some haskell packages Resent-Message-ID: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: John Soo Mime-Version: 1.0 (1.0) Date: Fri, 20 Dec 2019 13:28:52 -0800 Message-Id: <69081139-A67A-43C5-8757-36437C6CC96D@asu.edu> References: <871rt0kkxv.fsf@gnu.org> In-Reply-To: <871rt0kkxv.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , help-guix Cc: 38593@debbugs.gnu.org Hi Ludo and guix, Let me explain my problem. Maybe there is some other explanation here and th= ese patches aren=E2=80=99t necessary. When I have stylish-haskell installed I have troubles compiling anything usi= ng plain ghc. I want to use the ghc packages in the profile but for some r= eason ghc reports the database is invalid because of at least stylish-haskel= l and I think I=E2=80=99ve seen hoogle as well. > Does it hurt in practice, or are these invalid databases shadowed by the > one created in the profile? I=E2=80=99m not sure what you mean here. I think I dod not explained my prob= lem well enough. Does the explanation above make sense? Another possibility is the duplication of path variables in tmux where I usu= ally operate.=20 Thinking now, maybe another explanation is because stylish-haskell and ghc-s= tylish-haskell are fighting each other? They are duplicate packages and mayb= e if one is removed it will be ok? > Should we add a phase in =E2=80=98haskell-build-system=E2=80=99 that syste= matically > removes package databases? I don=E2=80=99t think so. I like having the profile packages. A lot of times= I prefer to use plain ghc with the profile packages over cabal or another t= ool so I=E2=80=99m happy to have the packages in the database. The ones I was considering removing were ones that primarily provide a binar= y to use - hoogle and stylish-haskell are primarily used as binaries. Howev= er on second thought if I wanted to use them as libraries I think I would be= confused as to why I could not. Overall I am leaning towards finding some other solution. Thanks everyone! John= From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: [bug#38593] Remove invalid library directories from some haskell packages Date: Fri, 20 Dec 2019 13:28:52 -0800 Message-ID: <69081139-A67A-43C5-8757-36437C6CC96D@asu.edu> References: <871rt0kkxv.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36531) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiPpS-0001yx-5H for help-guix@gnu.org; Fri, 20 Dec 2019 16:28:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiPpQ-0004BL-2j for help-guix@gnu.org; Fri, 20 Dec 2019 16:28:56 -0500 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:42095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiPpP-00041L-6G for help-guix@gnu.org; Fri, 20 Dec 2019 16:28:55 -0500 Received: by mail-pg1-x543.google.com with SMTP id s64so5558454pgb.9 for ; Fri, 20 Dec 2019 13:28:54 -0800 (PST) In-Reply-To: <871rt0kkxv.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?utf-8?Q?Ludovic_Court=C3=A8s?= , help-guix Cc: 38593@debbugs.gnu.org Hi Ludo and guix, Let me explain my problem. Maybe there is some other explanation here and th= ese patches aren=E2=80=99t necessary. When I have stylish-haskell installed I have troubles compiling anything usi= ng plain ghc. I want to use the ghc packages in the profile but for some r= eason ghc reports the database is invalid because of at least stylish-haskel= l and I think I=E2=80=99ve seen hoogle as well. > Does it hurt in practice, or are these invalid databases shadowed by the > one created in the profile? I=E2=80=99m not sure what you mean here. I think I dod not explained my prob= lem well enough. Does the explanation above make sense? Another possibility is the duplication of path variables in tmux where I usu= ally operate.=20 Thinking now, maybe another explanation is because stylish-haskell and ghc-s= tylish-haskell are fighting each other? They are duplicate packages and mayb= e if one is removed it will be ok? > Should we add a phase in =E2=80=98haskell-build-system=E2=80=99 that syste= matically > removes package databases? I don=E2=80=99t think so. I like having the profile packages. A lot of times= I prefer to use plain ghc with the profile packages over cabal or another t= ool so I=E2=80=99m happy to have the packages in the database. The ones I was considering removing were ones that primarily provide a binar= y to use - hoogle and stylish-haskell are primarily used as binaries. Howev= er on second thought if I wanted to use them as libraries I think I would be= confused as to why I could not. Overall I am leaning towards finding some other solution. Thanks everyone! John=