Bug? Haskell GHC wont' work since ghc@8.6?

  • Done
  • quality assurance status badge
Details
4 participants
  • John Soo
  • Vincent Legoll
  • yasu
  • zimoun
Owner
unassigned
Submitted by
John Soo
Severity
normal

Debbugs page

John Soo wrote 4 years ago
(name . yasu)(address . yasu@yasuaki.com)(name . Bug Guix)(address . bug-guix@gnu.org)(name . Help Guix)(address . help-guix@gnu.org)
dc920069-2cda-47e8-8c74-8bf74f6292c6@Johns-iPhone
Hi yasu,

This question comes up on the mailing list every so often, but I don’t think it is a bug. I want to be able to choose the c toolchain ghc uses myself. I would rather introduce some Haskell specific documentation.

We discussed during the guix day that we would love to have some language specific setup documentation. I had issues like this in mind.

- John
Attachment: file
Attachment: face-smile.png
John Soo wrote 4 years ago
Mistaken issue report
(name . 45778-Done)(address . 45778-done@debbugs.gnu.org)
ba4d27e3-f9d1-413d-b999-2190aa1c9cad@Johns-iPhone

Attachment: file
Closed
yasu wrote 4 years ago
Re: Bug? Haskell GHC wont' work since ghc@8.6?
(name . John Soo)(address . jsoo1@asu.edu)(name . Bug Guix)(address . bug-guix@gnu.org)(name . Help Guix)(address . help-guix@gnu.org)
29cd11b544bf3dd268cf50371751cf27db3de1d1.camel@yasuaki.com
Hi John,

Oh, I see! I wonder if it possible to have a more convinient

haskell-for-a-casual-developer like package or:

parameterize the command itself, say:
guix install ghc -option1=blah, -option2=blah,
and provide default options as well?

In the very least, a warning message explaining this after:
guix install ghc

Might do.

Lots of ideas :-)

Cheers,
yasu





On Sun, 2021-01-10 at 22:18 -0800, John Soo wrote:
Toggle quote (12 lines)
> Hi yasu,
>
> This question comes up on the mailing list every so often, but I
> don’t think it is a bug. I want to be able to choose the c toolchain
> ghc uses myself. I would rather introduce some Haskell specific
> documentation.
>
> We discussed during the guix day that we would love to have some
> language specific setup documentation. I had issues like this in
> mind.
>
> - John
zimoun wrote 4 years ago
(name . John Soo)(address . jsoo1@asu.edu)(name . yasu)(address . yasu@yasuaki.com)(name . Help Guix)(address . help-guix@gnu.org)(name . Bug Guix)(address . bug-guix@gnu.org)
86im83sewc.fsf@gmail.com
Hi John,

On Sun, 10 Jan 2021 at 22:18, John Soo <jsoo1@asu.edu> wrote:

Toggle quote (5 lines)
> This question comes up on the mailing list every so often, but I don’t
> think it is a bug. I want to be able to choose the c toolchain ghc
> uses myself. I would rather introduce some Haskell specific
> documentation.

Choosing the C toolchain and propagating one are not really related. I
mean, one C toolchain could be propagated by default, so then GHC works
out-of-the-box. And the build transformation ’--with-c-toolchain’
should provide the flexibility to use any other C toolchain variant you
want. Is it not working as expected?


All the best,
simon
John Soo wrote 4 years ago
(name . zimoun)(address . zimon.toutoune@gmail.com)(name . yasu)(address . yasu@yasuaki.com)(name . Help Guix)(address . help-guix@gnu.org)(name . Bug Guix)(address . bug-guix@gnu.org)
87sg774ibp.fsf@asu.edu
Hi zimoun,

zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (2 lines)
> Choosing the C toolchain and propagating one are not really related.

Good point.

Toggle quote (5 lines)
> I mean, one C toolchain could be propagated by default, so then GHC works
> out-of-the-box. And the build transformation ’--with-c-toolchain’
> should provide the flexibility to use any other C toolchain variant you
> want. Is it not working as expected?

As is, ghc does not work after guix install ghc. gcc-toolchain must be
installed alongside it to work. Maybe the reason for this was to not
propagate particular versions of the gcc-toolchain and possibly conflict
with others.

Thanks!

John
Vincent Legoll wrote 4 years ago
(name . John Soo)(address . jsoo1@asu.edu)(name . Bug Guix)(address . bug-guix@gnu.org)(name . Help Guix)(address . help-guix@gnu.org)(name . zimoun)(address . zimon.toutoune@gmail.com)
CAEwRq=rfd3b49U2xn2S1RoHKaO6oKK+H0d2gp=L3+CGE+JPW7Q@mail.gmail.com
Hello,

should the following issues be merged together ?

45776
45777
45778

--
Vincent Legoll
?
Your comment

This issue is archived.

To comment on this conversation send an email to 45778@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 45778
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help