GNU bug report logs - #75787
[PATCH] gnu: Add microcabal.

Previous Next

Package: guix-patches;

Reported by: Homo <gay <at> disroot.org>

Date: Thu, 23 Jan 2025 16:22:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Homo <gay <at> disroot.org>
Cc: divya <at> subvertising.org, 75787 <at> debbugs.gnu.org
Subject: [bug#75787] [PATCH] gnu: Add microcabal.
Date: Sat, 1 Feb 2025 14:19:36 +0100
[Message part 1 (text/plain, inline)]
Hi,

> * gnu/packages/haskell-apps.scm (microcabal): New variable.

I’m using a slightly modified patch (see attachment), but `mcabal`
cannot build any packages. It seems that it ignores the MHSDIR environment
variable:

    mcabal build fail
    mcabal: Build package fail
    mcabal: Building in /home/lars/.mcabal/packages/fail-4.9.0.0
    mcabal: Building library fail
    mhs: error: no location: Module not found: Mhs.Builtin
    search path=[".","dist-mcabal/autogen"]
    package path=["."]
    mhs: error: callCommand: failed 256, "mhs -Pfail-4.9.0.0 -ofail-4.9.0.0.pkg -i -i. -idist-mcabal/autogen '-DVERSION_base=\"4.19.1.0\"' '-DMIN_VERSION_base(x,y,z)=((x)<4||(x)==4&&(y)<19||(x)==4&&(y)==19&&(z)<=1)' -a. Control.Monad.Fail"

Looking at the MicroCabal sources mcabal might be expecting mhs to be
installed as an “mcabal package”?

Lars

[0001-gnu-Add-microcabal.patch (text/plain, attachment)]

This bug report was last modified 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.