unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Vollmert <rob@vllmrt.net>
To: 38946@debbugs.gnu.org
Subject: bug#38946: guix import fails for cabal-helper
Date: Fri, 10 Jan 2020 18:40:14 +0100	[thread overview]
Message-ID: <B77559D0-47A1-491A-B0F8-3A90E69A31E4@vllmrt.net> (raw)
In-Reply-To: <CAJ=hFwS+Yz1J3JYoWV5-8d5rSBasd2yCuA2OC+pTyBg8WzMQ5A@mail.gmail.com>

It appears that the guix cabal parser (in guix/import/cabal.scm) isn’t aware
of `common` stanzas.

https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-section-common-common

Note that there’s quite a few issues with the cabal parser, and the format is pretty
baroque, to the extent that I wonder whether it wouldn’t be better to delegate the
parsing to cabal itself.

E.g.:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35743
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36690

I also remember some issue with braces instead of indentation, but can’t find a bug
report right now.

  reply	other threads:[~2020-01-10 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 15:23 bug#38946: guix import fails for cabal-helper Sergiu Marton
2020-01-10 17:40 ` Robert Vollmert [this message]
2024-05-25  6:56 ` Lars-Dominik Braun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B77559D0-47A1-491A-B0F8-3A90E69A31E4@vllmrt.net \
    --to=rob@vllmrt.net \
    --cc=38946@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).