Re: Haskell program build and run using Cabal

2021-04-11 Thread Bone Baboon
Gary Johnson writes: > Guix System (unsurprisingly) has a built-in preference for building > packages with Guix. For building Haskell programs, check out the > `haskell-build-system`, which uses cabal and ghc under the hood. > > Also, if the package you want to install exists on Hackage > (https://

Re: Haskell program build and run using Cabal

2021-04-11 Thread John Soo
Hello, There are a few problems with the ghc ecosystem in guix right now (unless they have been fixed in the last month or so). The following is relevant to you. Our version of cabal-install is incompatible with the default ghc version: http://issues.guix.gnu.org/45055 The fix for this is to u

Re: Haskell program build and run using Cabal

2021-04-11 Thread Gary Johnson
Bone Baboon writes: > I am trying to build a Haskell program from source and run it. I am > using Cabal a Haskell build tool to do this. I am able to build and run > this program without the following error messages on other Linux > operating systems. > > [snip] > > Doing an internet search for

Haskell program build and run using Cabal

2021-04-10 Thread Bone Baboon
I am trying to build a Haskell program from source and run it. I am using Cabal a Haskell build tool to do this. I am able to build and run this program without the following error messages on other Linux operating systems. `cabal --version` outputs: ``` cabal-install version 2.4.0.0 compiled us