bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65460: ghc/ghci are broken


From: Jonas
Subject: bug#65460: ghc/ghci are broken
Date: Wed, 23 Aug 2023 10:39:03 +0000

Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't this 
be automatically brought in by `guix install ghc`? This does still feels 
like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inputs?

sanoj@deimos ~/builds/hs-hello$ guix shell --container ghc -- ghc hello.hs
Linking hello ...

<no location info>: error:
     Warning: Couldn't figure out C compiler information!
              Make sure you're using GNU gcc, or clang
ghc: could not execute: gcc

Den 8/23/23 07:14, skrev (:
> Jonas via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>> And compiling a hello-world program with ghc gives me:
>>
>> [1 of 1] Compiling Main             ( hello.hs, hello.o )
>>
>> <no location info>: error:
>>       Warning: Couldn't figure out C compiler information!
>>                Make sure you're using GNU gcc, or clang
> At the risk of stating an obvious thing that you've probably already
> tried; is `gcc-toolchain` available in the environment?
>
> -- (






reply via email to

[Prev in Thread] Current Thread [Next in Thread]