Hi Maxim,
On Tue, 29 Aug 2023 at 17:07, Maxim Cournoyer wrote:
> For building tools requiring a compiler, the current expectation across
> Guix packages is that the user provides the one it wants. Even if using
> GCC, you may want to use a different version, and rebuilding GHC just to
> do so
Hi,
Saku Laesvuori writes:
>> > 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?
>
> native-inputs are for
Jonas writes:
> 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?
If this is to happen, it should be a regular input,
> > 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?
native-inputs are for buildtime inputs and here ghc needs a c
Jonas via Bug reports for GNU Guix writes:
> 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
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
Jonas via Bug reports for GNU Guix writes:
> And compiling a hello-world program with ghc gives me:
>
> [1 of 1] Compiling Main ( hello.hs, hello.o )
>
> : error:
> Warning: Couldn't figure out C compiler information!
> Make sure you're using GNU gcc, or clang
At
Hi! Running ghci gives me:
GHCi, version 9.2.5: https://www.haskell.org/ghc/ :? for help
ghc: loadArchive: Not an archive:
`/gnu/store/kqb5pmdy950b53v4ga97qvhhdfqxv9rs-glibc-2.35-static/lib/libm.a'
ghc: panic! (the 'impossible' happened)
(GHC version 9.2.5:
loadArchive