From: Marc Espie Subject: Re: Haskell ports without using Hackage To: David Uhden Collado Cc: ports@openbsd.org Date: Sat, 17 Aug 2024 10:45:29 +0200 On Sat, Aug 17, 2024 at 07:03:48AM +0200, David Uhden Collado wrote: > Hello, > > I have recently started working on a port for the SimpleX Chat CLI client > [1] and encountered an issue. The software is not available in the Haskell > package repository [2], which poses a significant challenge since the > cabal-module(5) used for Haskell ports relies on Hackage. > > My question is: Is there a way to create a port for software written in > Haskell that is not available in the Haskell package repository? > > Thank you for your assistance. > > Best regards, > David. > > 1. https://github.com/simplex-chat/simplex-chat/blob/stable/docs/CLI.md#in-any-os > 2. https://hackage.haskell.org/packages/search?terms=simplex-chat > 3. https://man.openbsd.org/cabal-module.5 > > This mostly means you have to do things manually, like a lot of ports do. Don't use the cabal module, just BUILD_DEPENDS on ghc, and set variables according to what you need.