bug#65460: ghc/ghci are broken

2023-09-05 Thread Simon Tournier
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

bug#65460: ghc/ghci are broken

2023-08-29 Thread Maxim Cournoyer
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

bug#65460: ghc/ghci are broken

2023-08-24 Thread paren--- via Bug reports for GNU Guix
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,

bug#65460: ghc/ghci are broken

2023-08-23 Thread Saku Laesvuori via Bug reports for GNU Guix
> > 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

bug#65460: ghc/ghci are broken

2023-08-23 Thread Csepp
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

bug#65460: ghc/ghci are broken

2023-08-23 Thread Jonas via Bug reports for GNU Guix
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

bug#65460: ghc/ghci are broken

2023-08-22 Thread paren--- via Bug reports for GNU Guix
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

bug#65460: ghc/ghci are broken

2023-08-22 Thread Jonas via Bug reports for GNU Guix
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