unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* Bug? Haskell GHC wont' work since ghc@8.6?
@ 2021-01-11  6:18 John Soo
  2021-01-11  6:20 ` bug#45778: Mistaken issue report John Soo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: John Soo @ 2021-01-11  6:18 UTC (permalink / raw)
  To: yasu; +Cc: Bug Guix, Help Guix

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

      
  

  
  
  
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 #2: face-smile.png --]
[-- Type: image/PNG, Size: 871 bytes --]

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

* bug#45778: Mistaken issue report
  2021-01-11  6:18 Bug? Haskell GHC wont' work since ghc@8.6? John Soo
@ 2021-01-11  6:20 ` John Soo
  2021-01-11  6:31 ` bug#45778: Bug? Haskell GHC wont' work since ghc@8.6? yasu
  2021-01-11 14:54 ` zimoun
  2 siblings, 0 replies; 6+ messages in thread
From: John Soo @ 2021-01-11  6:20 UTC (permalink / raw)
  To: 45778-Done

[-- Attachment #1: Type: text/plain, Size: 31 bytes --]

     
 

 
 
 
 
   
 

 
     

[-- Attachment #2: Type: text/html, Size: 322 bytes --]

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

* bug#45778: Bug? Haskell GHC wont' work since ghc@8.6?
  2021-01-11  6:18 Bug? Haskell GHC wont' work since ghc@8.6? John Soo
  2021-01-11  6:20 ` bug#45778: Mistaken issue report John Soo
@ 2021-01-11  6:31 ` yasu
  2021-01-11 14:54 ` zimoun
  2 siblings, 0 replies; 6+ messages in thread
From: yasu @ 2021-01-11  6:31 UTC (permalink / raw)
  To: John Soo; +Cc: help-guix, 45778

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:
> 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 





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

* Re: Bug? Haskell GHC wont' work since ghc@8.6?
  2021-01-11  6:18 Bug? Haskell GHC wont' work since ghc@8.6? John Soo
  2021-01-11  6:20 ` bug#45778: Mistaken issue report John Soo
  2021-01-11  6:31 ` bug#45778: Bug? Haskell GHC wont' work since ghc@8.6? yasu
@ 2021-01-11 14:54 ` zimoun
  2021-01-11 15:14   ` John Soo
  2 siblings, 1 reply; 6+ messages in thread
From: zimoun @ 2021-01-11 14:54 UTC (permalink / raw)
  To: John Soo, yasu; +Cc: Help Guix, Bug Guix

Hi John,

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

> 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


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

* Re: Bug? Haskell GHC wont' work since ghc@8.6?
  2021-01-11 14:54 ` zimoun
@ 2021-01-11 15:14   ` John Soo
  2021-01-11 18:42     ` Vincent Legoll
  0 siblings, 1 reply; 6+ messages in thread
From: John Soo @ 2021-01-11 15:14 UTC (permalink / raw)
  To: zimoun; +Cc: Help Guix, Bug Guix

Hi zimoun,

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

> Choosing the C toolchain and propagating one are not really related.

Good point.

> 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


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

* Re: Bug? Haskell GHC wont' work since ghc@8.6?
  2021-01-11 15:14   ` John Soo
@ 2021-01-11 18:42     ` Vincent Legoll
  0 siblings, 0 replies; 6+ messages in thread
From: Vincent Legoll @ 2021-01-11 18:42 UTC (permalink / raw)
  To: John Soo; +Cc: Bug Guix, Help Guix

Hello,

should the following issues be merged together ?

45776
45777
45778

-- 
Vincent Legoll


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

end of thread, other threads:[~2021-01-11 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11  6:18 Bug? Haskell GHC wont' work since ghc@8.6? John Soo
2021-01-11  6:20 ` bug#45778: Mistaken issue report John Soo
2021-01-11  6:31 ` bug#45778: Bug? Haskell GHC wont' work since ghc@8.6? yasu
2021-01-11 14:54 ` zimoun
2021-01-11 15:14   ` John Soo
2021-01-11 18:42     ` Vincent Legoll

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git