[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32131: ghc fails to compile packages when installed into profile
From: |
Simon Tournier |
Subject: |
bug#32131: ghc fails to compile packages when installed into profile |
Date: |
Fri, 22 Sep 2023 18:13:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
This old bug #32131,
https://issues.guix.gnu.org/issue/32131
is not a bug. It is because gcc-toolchain is missing.
On Wed, 11 Jul 2018 at 22:12, Anonymous <mcrfan96@cock.li> wrote:
> This bug can be reproduced by doing
>
> guix package -i ghc
> echo 'main=return()' > test.hs
> ghc test.hs
>
> The expected output is that the program will be compiled, but instead we get
> the error message
--8<---------------cut here---------------start------------->8---
$ echo 'main=return()' > test.hs
$ guix shell -C ghc gcc-toolchain -- ghc test.hs
[1 of 1] Compiling Main ( test.hs, test.o )
Linking test ...
$ ./test
--8<---------------cut here---------------end--------------->8---
Closing. Let me know if I am missing something.
Cheers,
simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#32131: ghc fails to compile packages when installed into profile,
Simon Tournier <=